how to linspace to create a coulmn vector
Show older comments
Create a column vector using linspace to enter the values of force from 0 to 550, 50 elements increasing and then 550 to 0, 50 elements decreasing.
Answers (1)
F1 = (0:50:550)' ;
F2 = flipud(F1) ; F2 = (550:-50:0)' ;
Categories
Find more on Creating and Concatenating Matrices 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!