How can I extract data and match it from two different data??
Show older comments
Hello.
for example, I have two data.
1 is [ 0 0 0 0 1 1 1 0 0 0 ] and
2 is [ 5 5 5 5 10 10 10 6 6 6 ]
What I want to do is that first find a value '1' position in data 1* 5th,6th,7th) and extract a data from same position in data 2.(10 10 10 )
in original dat there are more then 5000 sequence... :(
Is there any way to do this?
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!