need syntax

need syntax for zero padding

回答(1 个)

Wayne King
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);

此问题已关闭。

标签

尚未输入任何标签。

提问:

2012-3-19

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by