Info
This question is closed. Reopen it to edit or answer.
Removing data below a polysurface threshold
1 view (last 30 days)
Show older comments
I have a matrix (XYZ) with which I want to remove data above a certain threshold. The threshold is set by a polysurface. How can I use a polysurface as this threshold?
I don't think this is possible using logical indexing (from by newbie knowledge!) I'm thinking of creating a new matrix (A) by selecting data below the polysurface using something similar to:
if (z(i) < y(%polysurface function%)
then z(i) = A
Is there a better way to do this? Currently I'm still working on a code that's workable!
Thanks!
0 Comments
Answers (0)
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!