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!