Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
say i have a vector with elments say [ 0 1 2 2 3 0 0 0 0 etc], how do i assign a new vector such that 0 becomes 3, 1 becomes 2, 2 becomes 1 and 3 becomes 0.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
say i have a vector with elments say [ 0 1 2 2 3 0 0 0 0 etc], how do i assign a new vector such that 0 becomes 3, 1 becomes 2, 2 becomes 1 and 3 becomes 0.
0 Commenti
Risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!