Equidistant interpolation with outliers
이전 댓글 표시
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.
답변 (1개)
Deepak Meena
2021년 3월 21일
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
카테고리
도움말 센터 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!