how to ease conditions?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ani Asoyan
le 11 Mai 2020
Commenté : Ani Asoyan
le 11 Mai 2020
Hi .. In my code I have a result number (called "gov") on which I want to put conditions
also there is a matrix with 25 columns and 5 rows (called "gp") and a parameter "d"
if gov= one of the values of the first 5 colums of gp (doesn't matter which row)
d=d+1
end
how can I write that easily and short, without typing all the rows and colums?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dialog Boxes dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!