Replace values in a matrice
4 views (last 30 days)
Show older comments
Miguel Albuquerque on 17 Jul 2022
Edited: Miguel Albuquerque on 19 Jul 2022
Hey guys, thanks in advance,
I have this range(matrix) that has 1 x 5600 values. After that I perform a calculation , and I get a distance_matrix, that has 1 x 400 values.
Range includes the values in distance_matrix
What I want to do, is find in range the indexes where the values of distance_matrix are, and replace them by RMC, but such as, range continues to have 1 x 5600 values.
How can I do that?
dpb on 17 Jul 2022
Edited: dpb on 17 Jul 2022
Seems you're going over and over the same plowed ground here...use logical addressing.
More Answers (0)
Find more on Numeric Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!