find maximum value of column when row is known and value of Array is non zero?
1 回表示 (過去 30 日間)
古いコメントを表示
Shubham Mohan Tatpalliwar
2018 年 10 月 17 日
編集済み: Shubham Mohan Tatpalliwar
2018 年 10 月 17 日
if true
% code
A = [51 2 3 nan;
4 5 6 7;
42 16 45 63;
NaN 2 56 12;
NaN 45 26 32];
how to code for max value of column for 1st row where A is not a NaN.
0 件のコメント
採用された回答
その他の回答 (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!