Info
This question is closed. Reopen it to edit or answer.
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 view (last 30 days)
Show older comments
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 Comments
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!