Find minimum and maximum value from a matrix for a specific interval
2 ビュー (過去 30 日間)
古いコメントを表示
Chaudhary P Patel
2022 年 9 月 20 日
コメント済み: Chaudhary P Patel
2022 年 9 月 20 日
I have a 30X100 size matrix, for which i want to find minimum and maximum value for row 2,5,8,11,14,17,20,23,27.
How can i find the minimum and maximu values from these rows.
0 件のコメント
採用された回答
Walter Roberson
2022 年 9 月 20 日
rows = [2,5,8,11,14,17,20,23,27];
[minima, maxima] = bounds(YourMatrix(rows,:), 2);
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!