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 日

0 投票

out = [0;Velosity(:)];

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File 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