ERROR USING VERTCAT HELP PLEASE
Afficher commentaires plus anciens
I keep getting this error
"Error using vertcat Dimensions of matrices being concatenated are not consistent."
P=(100:100:1000);
for i=1:P
D = [1 0 0 -0.857 -0.832 -0.812;
0 1 0 0.286 0.555 0.542;
0 0 1 0.429 0 -0.217;
0 0 0 0 0 0.0379;
0 0 0 -0.1286 0 0.1218;
0 0 0 0.0857 0.1664 0.1625;];
E= [0;
P;
0;
0.15.*P;
0;
0.3.*P;];
X=D\E;
end
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!