Why do I get the error message 'Inner matrix dimensions must agree. ' ?
Show older comments
Why do I get the following error message :
ERROR: Inner matrix dimensions must agree.
Accepted Answer
More Answers (1)
Greg Heath
on 28 Apr 2016
For N I-dimensional inputs paired with N O-dimensional target outputs
[ I N ] = size(input)
[ O N ] = size(target)
I always place these right after I read the data in.
Hope this help.
Thank you for formally accepting my answer
Categories
Find more on Univariate Discrete Distributions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!