Find elements greater than a value corresponding to the second array
105 views (last 30 days)
Show older comments
Hi,
I have matrix A which has zeros and precipitation values and B which has zeros and probability values. The probability values (nonzero values) in B correspond to the nonzero precipitation values in A. I need to extract values from A, for greater than a probability value from B. Which means look for probability value greater than 0.875 (for example 0.875) from B and get the corresponding values from A.
Can somebody help me in this using matlab.
Thanks in advance.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Resizing and Reshaping Matrices 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!