getting all points over a specific part in matlab plot

8 ビュー (過去 30 日間)
Arvind Kumar Pathak
Arvind Kumar Pathak 2019 年 1 月 9 日
回答済み: KSSV 2019 年 1 月 9 日
Capture.JPG
to plot the attached data, this is my command
plot3(radius(:,1),radius(:,2),radius(:,3),'.')
above plot is the view in YZ plane for the attached data.
I want to store all points which are lying above the red line in above plot?

回答 (1 件)

KSSV
KSSV 2019 年 1 月 9 日
Read about scatteredInterpolant .....this will help you to get what you want.
Let (xi,yi) be the x,y, coordinates of the red line.
F = scatteredInterpolant(radius(:,1),radius(:,2),radius(:,3)) ;
zi = F(xi,yi) ;
iwant = [xi yi zi] ;

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by