Extracting points representing curve
    8 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
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
Respuestas (1)
  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 
0 comentarios
Ver también
Categorías
				Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!