changing values in an array
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
David Harra
il 20 Set 2021
Commentato: David Harra
il 20 Set 2021
I have a 1000x1 array that ranges from 1 to 179.
Any values above 90 in this array I need to do 180 minus any of those values above 90.
I am not sure what I need to do to select those values in the array.
Thanks
Dave :)
0 Commenti
Risposta accettata
Cris LaPierre
il 20 Set 2021
You will also find Ch 12 (Logical arrays) helpful for what you want to do.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing 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!