for take long time
Show older comments
hi,
I have vector of indices, I should look for indices in large vector of values, then arrange the values depend on their indices in that vector and place it in new vector.
I hope to use a command instead of for for searching , because it is taking long time.
index=[3 2 1 100......................] very long
values=[10 9 2 .....................]
new=[2 9 10.........................]
is there such command?
thanks
Accepted Answer
More Answers (1)
huda nawaf
on 19 Nov 2011
0 votes
Categories
Find more on MATLAB 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!