need syntax

Risposte (1)

Wayne King
Wayne King il 19 Mar 2012

0 voti

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

Questa domanda è chiusa.

Tag

Non è stata ancora inserito alcun tag.

Richiesto:

il 19 Mar 2012

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by