Change value of states "active" to 1 and "rest" to -1
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have attached a mat file for your reference.
0 commentaires
Réponse acceptée
madhan ravi
le 25 Sep 2019
stats.state(ismember(stats.state,'rest'),:) = '-1';
stats.state(ismember(stats.state,'active'),:)= '1'
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Types 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!