Extracting points representing curve

조회 수: 1 (최근 30일)
Shweta Saboo
Shweta Saboo 2020년 8월 20일
답변: KSSV 2020년 8월 20일
I have certain set of (x,y) coordinates representing a shape. How to extract those points which define a curve among the available points?
  댓글 수: 3
Shweta Saboo
Shweta Saboo 2020년 8월 20일
I want to select(extract) only those points representing curve from the complete set of points.
KSSV
KSSV 2020년 8월 20일
Okay share the data and what you expect.

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2020년 8월 20일
In case are you looking for polyfit. ? Let (x,y) be the points you have and you want fit a quadratic polynomial.
p = polyfit(x,y,2) ;
xi = x ;
yi = polyval(p,xi) ;
iwant = [xi yi] ; % assuming xi, yi to be column arrays

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by