need syntax

Respuestas (1)

Wayne King
Wayne King el 19 de Mzo. de 2012

0 votos

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

La pregunta está cerrada.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 19 de Mzo. de 2012

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by