From: Wayne King on
"nor " <nanadilla(a)yahoo.com> wrote in message <i14evu$72k$1(a)fred.mathworks.com>...
> "Wayne King" <wmkingty(a)gmail.com> wrote in message <i1284g$mvb$1(a)fred.mathworks.com>...
> > "nor " <nanadilla(a)yahoo.com> wrote in message <i1276g$lc2$1(a)fred.mathworks.com>...
> > > Hi Wayne,
> > >
> > > I just wonder if MATLAB has changed the function savgol to sgolayfilt? It works the same way right?
> > >
> > > Many thanks
> > > Nor
> >
> > Hi Nor, savgol is not a Mathworks function.
> >
> > That function appears in this toolbox:
> >
> > http://www.maths.lth.se/matstat/wafo/documentation/wafodoc/index.html
> >
> > Not sure if that is the one you are talking about.
> >
> > Wayne
>
> Thank you. Yes, that is the function that I meant. However, now it disappear from MATLAB. I can no longer use it. The sgolay and sgolayfilt functions somehow operate differently.
>
> I have a matrix that contains about 2000 NIR spectra. I need to perform smoothing and first derivate to the spectra. Previously I used the savgol function. Now since it disappear, I am at lost. Any help?
>
> Thanks
> Nor

Hi Nor, if you want to use that function, why don't you download it again? Or perhaps it's still on your computer, but you don't have the folder/directory that it lives in in the MATLAB search path.

1.) Search for the file on your machine. If it is still on your machine, then add the folder it is found in to the MATLAB search path by using. pathtool or the addpath command.

2.) If the file is not on your computer and you want to use it, it is provided by the authors free of charge. Download the file(s) and make sure you add the directory to the MATLAB path.

Wayne
First  |  Prev  | 
Pages: 1 2
Prev: read mat file in C++
Next: read mat file in C++