How to obtain matrix with single value in one column?

3 ビュー (過去 30 日間)
Daniyar
Daniyar 2013 年 3 月 11 日
Hello,
How can I obtain the value p=2000 in matrix of one column and 41 rows?

回答 (1 件)

John Petersen
John Petersen 2013 年 3 月 11 日
P = p*ones(41,1);

カテゴリ

Help Center および File ExchangeOperators and Elementary Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by