Extracting points representing curve

1 visualización (últimos 30 días)
Shweta Saboo
Shweta Saboo el 20 de Ag. de 2020
Respondida: KSSV el 20 de Ag. de 2020
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 comentarios
Shweta Saboo
Shweta Saboo el 20 de Ag. de 2020
I want to select(extract) only those points representing curve from the complete set of points.
KSSV
KSSV el 20 de Ag. de 2020
Okay share the data and what you expect.

Iniciar sesión para comentar.

Respuestas (1)

KSSV
KSSV el 20 de Ag. de 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

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by