Code covered by the BSD License
-
exp(-((x-pos)./(0.6006.*wid))...
-
exp(-((x-pos)./(0.6006.*wid))...
-
iffcenter(n,h)
Re-draws graph when the center slider is moved
-
iffmode(n,h)
Re-draws graph when the width slider is moved
-
iffshape(n,h)
Re-draws graph when the shape slider is moved
-
iffsignal(n,h)
Re-draws graph when the signal slider is moved
-
iffwidth(n,h)
Re-draws graph when the width slider is moved
-
rtslid(fig,f,hh,varargin)
RTSLID Slider widget that responds to dragging realtime
-
ry=FouFilter(y,samplingtime,c...
Fourier filter function for time-series signal vector y; 'samplingtime'
-
ry=RedrawFourierFilter(xvecto...
Separate graph windows for the original and filtered signals.
-
ry=RedrawFourierFilter(xvecto...
Alternative version of RedrawFourierFilter, with original signal (blue)
-
ry=iff(x,y)
Interactive Fourier Filter function for data in arguments x,y,
-
DemoIFF.m
-
FourierTest.m
-
InteractiveFourierFilter.m
-
View all files
from
Interactive Fourier Filter (version 1.5)
by Tom O'Haver
Interactive Fourier Filter for time-series signals.
|
| exp(-((x-pos)./(0.6006.*wid)) .^(2*round(n))); |
function g = ngaussian(x,pos,wid,n)
% ngaussian(x,pos,wid) = peak centered on x=pos, half-width=wid
% x may be scalar, vector, or matrix, pos and wid both scalar
% Shape is Gaussian when n=1. Becomes more rectangular as n increases.
% T. C. O'Haver, 2006
% Example: ngaussian([1 2 3],1,2,1) gives result [1.0000 0.5000 0.0625]
g = exp(-((x-pos)./(0.6006.*wid)) .^(2*round(n)));
|
|
Contact us at files@mathworks.com