How to obtain matrix with single value in one column?
Show older comments
Hello,
How can I obtain the value p=2000 in matrix of one column and 41 rows?
Answers (1)
John Petersen
on 11 Mar 2013
P = p*ones(41,1);
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!