How to obtain matrix with single value in one column?

1 visualización (últimos 30 días)
Daniyar
Daniyar el 11 de Mzo. de 2013
Hello,
How can I obtain the value p=2000 in matrix of one column and 41 rows?

Respuestas (1)

John Petersen
John Petersen el 11 de Mzo. de 2013
P = p*ones(41,1);

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by