converting all array elements into positive elements
23 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mohammed Qahosh
il 15 Giu 2019
Commentato: Mohammed Qahosh
il 16 Giu 2019
I have an aray like this:
A=[1 -3 -1 4]
I would like to have the same elemnt but with all elements have been converted to positive
Then,
A=[1 3 1 4]
Any suggestions? Thank you in advance.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Type Conversion 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!