logical operation on matrix
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Multidimensional Arrays 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!