need syntax

Réponses (1)

Wayne King
Wayne King le 19 Mar 2012

0 votes

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

Cette question est clôturée.

Tags

Aucun tag saisi pour le moment.

Question posée :

le 19 Mar 2012

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by