Find peaks in a for loop?
古いコメントを表示
i have a 1007x94 matrix, how would I write a for loop to find the peak in every row?
採用された回答
その他の回答 (1 件)
Assuming you mean maximum when you say peak.
a = randi(20, 2,10)
result = max(a,[],2)
カテゴリ
ヘルプ センター および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!