Finding the location of particular value
1 回表示 (過去 30 日間)
古いコメントを表示
Vinay Srinivasan
2020 年 2 月 15 日
コメント済み: Vinay Srinivasan
2020 年 2 月 15 日
Hello
I have a matlab data file which has 4 variables like time,velocity ,acceleration . Each variable has 2000values . I need maximum acceleration,so I used max(acceleration).Now I need to know the velocity at maximum acceleration from the data. How to get that value .
0 件のコメント
採用された回答
Walter Roberson
2020 年 2 月 15 日
編集済み: Walter Roberson
2020 年 2 月 15 日
[maxacc, maxaccidx] = max(acceleration);
maxaccvel = velocity(maxaccidx);
4 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!