how can i delete first number in vector ?

90 次查看(过去 30 天)
if i have this number in vector
v = [ 22
13
14
11 ]
i want to delete first number like that
v = [ 13
14
11 ]

回答(1 个)

Star Strider
Star Strider 2016-4-25
Set the first element to the ‘empty’ element:
v(1) = [];

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by