How to change the sign of some particular values in an array/matrix?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nisar Ahmed
am 5 Jul. 2022
Bearbeitet: Nisar Ahmed
am 5 Jul. 2022
Hi,
I have some positive and -ve values in the curve below (data is also attached). How can I setup my code in such a way that the only negative sign changes to positve (while megnitude remains same) and postive remains positive.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Whos finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!