use of conditional statement
이전 댓글 표시
I have a normalized image of size 160*190.i have to decompose it to low,middle and high inetnsity.the low bound is 0.4 and high bound is 0.7.which conditional statement can give the correct ans.
채택된 답변
추가 답변 (1개)
David Sanchez
2014년 2월 7일
if (x<0.4)
...do anything
elseif (x>=0.4 | x<=0.7)
...do another thing
else % this is for x>0.7
...whatever
end
댓글 수: 4
Sapam Jaya
2014년 2월 7일
Walter Roberson
2014년 2월 7일
Are you looking at the intensity of each pixel? Or are you looking for an overall intensity?
Sapam Jaya
2014년 2월 23일
Sapam Jaya
2014년 2월 23일
카테고리
도움말 센터 및 File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!