need syntax
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
回答(1 个)
Wayne King
2012-3-19
One way
x = ones(10,1);
x = [x ; zeros(10,1)];
Another way:
x = ones(10,1);
y = zeros(10,1);
x = vertcat(x,y);
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!