Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to smooth in Octave?

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?

like image 411
John Lawrence Aspden Avatar asked Oct 20 '22 02:10

John Lawrence Aspden


1 Answers

Looks like someone has already implemented it: smooth.m or else maybe data smoothing package on Octave-Forge

like image 130
Dan Avatar answered Oct 26 '22 23:10

Dan