how to linspace to create a coulmn vector

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)

KSSV
KSSV on 16 Feb 2018
Edited: KSSV on 16 Feb 2018
F1 = (0:50:550)' ;
F2 = flipud(F1) ; F2 = (550:-50:0)' ;

Categories

Tags

Asked:

on 16 Feb 2018

Edited:

on 16 Feb 2018

Community Treasure Hunt

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

Start Hunting!