need syntax

Antworten (1)

Wayne King
Wayne King am 19 Mär. 2012

0 Stimmen

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

Diese Frage ist geschlossen.

Tags

Noch keine Tags eingegeben.

Gefragt:

am 19 Mär. 2012

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by