logical operation on matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Faisal Al-Wazir
el 8 de Mzo. de 2022
Update matrix A so that all odd values will be subtracted by 1
A=[1 2 3;4 5 6; 4 5 2]
rem(A,2)-1%WRONG
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!