This work in MATLAB :p=rand(2,4);but when i change to :p=rand(3,4) this happen:Input data size does not match net.inputs{1}.size.

 Accepted Answer

(2,4) indicates four 2-dimensional examples whereas
(3,4) indicates four 3-dimensional examples
Why does the result confuse you?

2 Comments

Ok,i understand this,but i want to know where i need change in my code for (3,4) to work!
You have to design a different net with the appropriately sized input.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!