??? 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!