rewrite an existing matrix into a matrix with 0 and 1
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a matrix A with size 10x10 and each element is a number from 0 to 8, I want to make another matrix that has the same size as A but for the number that bigger than 4 are become 1, and from 4 to 0 are become 0.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical 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!