Extracting points representing curve

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 commentaires

KSSV
KSSV le 20 Août 2020
Already you have the points (x,y) in hand. What you want?
Shweta Saboo
Shweta Saboo le 20 Août 2020
I want to select(extract) only those points representing curve from the complete set of points.
KSSV
KSSV le 20 Août 2020
Okay share the data and what you expect.

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 20 Août 2020
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

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange

Tags

Question posée :

le 20 Août 2020

Réponse apportée :

le 20 Août 2020

Community Treasure Hunt

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

Start Hunting!

Translated by