Set elements in a 3D array to zero based on a condition
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I am trying to set all entries in a 3D array that are less than 0 to be equal to 0. My variable Qr is 199x199x50.
I tried this with no success:
Qr(Qr<0)==0
0 Commenti
Risposta accettata
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Matrices and 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!