need syntax
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Answers (1)
Wayne King
on 19 Mar 2012
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);
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!