the if statement with and/or
Afficher commentaires plus anciens
Is this right?
If a and b and c and d <= 100 {statement} end
2 commentaires
Chad Greene
le 17 Juin 2014
Your question is not very clear. What do your data look like and what is your goal?
Geoff Hayes
le 17 Juin 2014
No, that statement is incorrect. In the Command Window, type help if or doc if for details on constructing an if statement and how relational operators are used in compound expressions.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Modeling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!