if function for array
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Chihiro Omori
le 12 Avr 2019
Réponse apportée : madhan ravi
le 12 Avr 2019
A = [1,-3, 7; -4, -16, 2 ;3, 2,-10]
If there are numbers<0, I would like to change the minus to plus by using 'IF' statement.
The result I want is A = [1,3,7; 4,16 2; 3, 2, 10].
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multidimensional Arrays 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!