Info

此问题已关闭。 请重新打开它进行编辑或回答。

Removing data below a polysurface threshold

2 次查看(过去 30 天)
Si Cla
Si Cla 2016-9-30
关闭: MATLAB Answer Bot 2021-8-20
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 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by