How can I change all negative angles in 20 x 5000 cells to positive? i.e. -167deg. to 193deg.
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, I am new to MATLAB. Please see the title.
I need to keep the positives unchanged.
Cheers,
Ed
0 Commenti
Risposta accettata
Guillaume
il 25 Feb 2016
angles = [-167 0; 90 -270] %for example
angles = mod(angles, 360)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Axis Labels in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!