# Equidistant interpolation with outliers

5 visualizaciones (últimos 30 días)
Respondida: Deepak Meena el 21 de Mzo. de 2021
Consider a 2 dimensional curve based on GPS data. That is, each point consists of lat long coordinates and we addiontally have a time stamp. How to create a curve that "resembles" the original but that is formed by equidistant points? The method should be robust with respect to outliers.
##### 0 comentariosMostrar -2 comentarios más antiguosOcultar -2 comentarios más antiguos

Iniciar sesión para comentar.

### Respuestas (1)

Deepak Meena el 21 de Mzo. de 2021
Hi,
You can do the following :
• Use the fit fucntion with ROBUST name pair argument to get a fit
• Get the equidistant x points as
Xq = linspace(a,b,no);
• Get the data at those points using feval function :
Yq = feval(f,Xq);% f is the fit
Now plot the data [Xq,Yq] , we will get a curve that "resembles" the original but that is formed by equidistant points
Thanks
##### 0 comentariosMostrar -2 comentarios más antiguosOcultar -2 comentarios más antiguos

Iniciar sesión para comentar.

### Categorías

Más información sobre Interpolation 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!

Translated by