Group Numbers by cumsum (distance based)
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Propagation and Channel Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!