Insert Value into Matrix.

1 visualizzazione (ultimi 30 giorni)
Gurpreet Sidhu
Gurpreet Sidhu il 26 Mag 2017
Risposto: Andrei Bobrov il 26 Mag 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.

Risposta accettata

Andrei Bobrov
Andrei Bobrov il 26 Mag 2017
out = [0;Velosity(:)];

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by