how to linspace to create a coulmn vector

42 次查看(过去 30 天)
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.

回答(1 个)

KSSV
KSSV 2018-2-16
编辑:KSSV 2018-2-16
F1 = (0:50:550)' ;
F2 = flipud(F1) ; F2 = (550:-50:0)' ;

类别

Help CenterFile Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by