What does X = max(0,A) mean?
87 ビュー (過去 30 日間)
古いコメントを表示
What does X = max(0,A) mean?
0 件のコメント
採用された回答
JESUS DAVID ARIZA ROYETH
2019 年 11 月 16 日
it means that some value less than 0 in matrix A will be replaced by 0 in order to have a matrix whose minimum value is 0, example:
max (0, [1 2; -5 5])
returns [1,2; 0 5]
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!