??? Error using ==> vertcat CAT arguments dimensions are not consistent.
Mostra commenti meno recenti
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
Risposte (2)
Walter Roberson
il 21 Giu 2012
0 voti
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 Commenti
samit kumar gupta
il 21 Giu 2012
Walter Roberson
il 21 Giu 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
il 21 Giu 2012
Can so?
F11=zeros(size(x));
Categorie
Scopri di più su Matrices and Arrays in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!