use of conditional statement
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
David Sanchez
il 7 Feb 2014
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 Commenti
Sapam Jaya
il 7 Feb 2014
Walter Roberson
il 7 Feb 2014
Are you looking at the intensity of each pixel? Or are you looking for an overall intensity?
Sapam Jaya
il 23 Feb 2014
Sapam Jaya
il 23 Feb 2014
Categorie
Scopri di più su Encryption / Cryptography in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!