How to obtain matrix with single value in one column?
显示 更早的评论
Hello,
How can I obtain the value p=2000 in matrix of one column and 41 rows?
回答(1 个)
John Petersen
2013-3-11
P = p*ones(41,1);
类别
在 帮助中心 和 File Exchange 中查找有关 Numeric Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!