Insert Value into Matrix.

1 Ansicht (letzte 30 Tage)
Gurpreet Sidhu
Gurpreet Sidhu am 26 Mai 2017
Beantwortet: Andrei Bobrov am 26 Mai 2017
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.

Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 26 Mai 2017
out = [0;Velosity(:)];

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by