Effacer les filtres
Effacer les filtres

How to obtain matrix with single value in one column?

1 vue (au cours des 30 derniers jours)
Daniyar
Daniyar le 11 Mar 2013
Hello,
How can I obtain the value p=2000 in matrix of one column and 41 rows?

Réponses (1)

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

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by