if function for array
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chihiro Omori
el 12 de Abr. de 2019
Respondida: madhan ravi
el 12 de Abr. de 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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Multidimensional Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!