Reputation: 17470
I'm trying to get a piece of MATLAB code to run in Octave, and I've come upon the line:
xsm = smooth(x,0.03,'loess')
which doesn't seem to have an octave equivalent. x is just an array of a few thousand real numbers.
Is there any Octave code out there which will do this for me, and if not, where do I find the algorithm so that I can write my own? And if I do that, how do I contribute it to Octave?
Upvotes: 5
Views: 19987
Reputation: 45752
Looks like someone has already implemented it: smooth.m or else maybe data smoothing package on Octave-Forge
Upvotes: 3
Reputation: 17470
Here's some loess code in Excel Basic, which might be a start:
http://peltiertech.com/WordPress/loess-smoothing-in-excel/
Upvotes: 0