??? Error using ==> vertcat CAT arguments dimensions are not consistent.
显示 更早的评论
Am running a matlab code which needs input a matrix. its showing me error like here:
??? Error using ==> vertcat CAT arguments dimensions are not consistent for following:
F=[F11 F12 F13;F21 F22 F23;F31 F32 F33]
here F11, F12 .....are elements of the matrix F
回答(2 个)
Walter Roberson
2012-6-21
0 个投票
One of the rows [F21 F22 F23] or [F21 F22 F23] or [F31 F32 F33] does not have the same number of columns as the other.
One of the ways this could happen is if one of the elements is empty when the others are not.
2 个评论
samit kumar gupta
2012-6-21
Walter Roberson
2012-6-21
Your F11 is a scalar 0, but all of your other F are row vectors of size 1 x 53.
You need
F11 = zeros(size(t));
Andrei Bobrov
2012-6-21
Can so?
F11=zeros(size(x));
类别
在 帮助中心 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!