Getting vertcat error, not using vertcat
Show older comments
Error using vertcat Dimensions of matrices being concatenated are not consistent.
I keep getting this error despite not having vertcat in my code. What can I do to fix this? Code is attached
Accepted Answer
More Answers (1)
Mark McBroom
on 14 Mar 2018
0 votes
The assignment to A vertical concatentates 4 row vectors. The first 3 rows have 5 elements, the 4th row only has 4 elements.
1 Comment
Andrew Tyers
on 14 Mar 2018
Categories
Find more on Loops and Conditional Statements 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!