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 Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by