Filter löschen
Filter löschen

Group Numbers by cumsum (distance based)

1 Ansicht (letzte 30 Tage)
Orkun OZENER
Orkun OZENER am 20 Feb. 2019
Hi,
I have a distance vector that a vehicle travels at each second. (1Hz Data)
I want to create a new matrix that is including group names of each 150 meters The matrix is attached.
Every group will be ~150 meter (149m-152m what ever)
[ 1 1 1 1 1 1 ... 2 2 2 2 2 2 . ... 3 3 3 3 3 .... 4 4 4 4...... ]
Thanks for your answer.

Antworten (0)

Kategorien

Mehr zu Elementary Math 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