Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
i need an if condition that analyzes data from a for loop
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how can i express an if condition inside a for loop that expells numbers that are greater than a static number let's say 50
so i do not want to the resluts that are more than 50 to show up in my results
0 Kommentare
Antworten (1)
Walter Roberson
am 23 Apr. 2019
The easiest way is to filter after you have stored everything:
YourVariable(YourVariable>50) = [];
1 Kommentar
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!