How to obtain matrix with single value in one column?

3 visualizzazioni (ultimi 30 giorni)
Hello,
How can I obtain the value p=2000 in matrix of one column and 41 rows?

Risposte (1)

John Petersen
John Petersen il 11 Mar 2013
P = p*ones(41,1);

Categorie

Scopri di più su Operators and Elementary Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by