ERROR USING VERTCAT HELP PLEASE
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!