Insert Value into Matrix.

1 次查看(过去 30 天)
i have gotten a 25*1 matrix with the name of Velocity (which i got from diff(x)/diff(t))and i want to put at the start 0 because the car starts from rest how do i do this.

采纳的回答

Andrei Bobrov
Andrei Bobrov 2017-5-26
out = [0;Velosity(:)];

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by