Info
This question is closed. Reopen it to edit or answer.
need syntax
2 views (last 30 days)
Show older comments
need syntax for zero padding
0 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);
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!