Lowess smoothing at the edge of a dataset
4 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am currently trying to use Matlab to replicate a graph produced in Prism. However, it seems that Matlab does something strange when you smooth the data at the edge of a dataset.
Example in Prism:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146308/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146309/image.png)
Example in Matlab:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146310/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146311/image.png)
Notes: The blue line is Lowess smoothed with a window of 10 points and then splined.
Any help with this matter would be HUGELY appreciated. Perhaps Prism has a trick for filling in datapoints on the edge (the first 4 or 5?)
Thank you!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Smoothing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!