plz help me with this error "Matrix dimensions must agree."
1 view (last 30 days)
Show older comments
Edited: Walter Roberson on 4 May 2015
Roger Stafford on 1 May 2015
From your error message I would guess that the matrix created for i1 is of different size from that of i2, and consequently matlab complained at the line
since j1 and j2 would also be of different sizes. You can easily check this by displaying the respective sizes of i1 and i2 in your code.
More Answers (0)
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!