How tatement to use if statement to eliminate unwanted value
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
sadiqa ilyas
il 21 Set 2019
Commentato: sadiqa ilyas
il 21 Set 2019
Hi,.
I have set of values like .001,0.002,...inf
i want to find the max value from these excluding inf
X=U/10000;
i=[X]
m=max(i);
if m == Inf;
m=m(i-1);
end
How to get rid of Inf.
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Variables in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!