What does X = max(0,A) mean?
조회 수: 81 (최근 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!