What does X = max(0,A) mean?
93 次查看(过去 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 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!