Insert Value into Matrix.

1 vue (au cours des 30 derniers jours)
Gurpreet Sidhu
Gurpreet Sidhu le 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.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by