??? Error using ==> vertcat CAT arguments dimensions are not consistent.
Mostrar comentarios más antiguos
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
Respuestas (2)
Walter Roberson
el 21 de Jun. de 2012
0 votos
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 comentarios
samit kumar gupta
el 21 de Jun. de 2012
Walter Roberson
el 21 de Jun. de 2012
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
el 21 de Jun. de 2012
Can so?
F11=zeros(size(x));
Categorías
Más información sobre Matrices and Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!