getting all points over a specific part in matlab plot
조회 수: 3 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
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] ;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Point Cloud Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!