FOSSEE Signal Processing Toolbox
FOSSEE Signal Processing Toolbox
>> FOSSEE Signal Processing Toolbox
FOSSEE Signal Processing Toolbox
ac2poly
—
Convert autocorrelation sequence to polynomial of prediction filter
ac2rc
—
arParEst
—
arburg
—
This function calculates coefficients of an autoregressive (AR) model of complex data.
arcov
—
armcov
—
aryule
—
This function fits an AR (p)-model with Yule-Walker estimates.
barthannwin
—
This function returns the filter coefficients of a modified Bartlett-Hann window.
bartlett
—
Generates a Bartlett window
besself
—
This function generates a Bessel filter.
bitrevorder
—
blackman
—
Generates a Blackman window
blackmanharris
—
This function returns the filter coefficients of a Blackman-Harris window.
blackmannuttall
—
This function returns the filter coefficients of a Blackman-Nuttall window.
bohmanwin
—
This function returns the filter coefficients of a Bohman window.
boxcar
—
This function returns the filter coefficients of a rectangular window.
buffer
—
This function buffers the given data into a matrix of signal frames
butter
—
This function generates a Butterworth filter.
buttord
—
/This function computes the minimum filter order of a Butterworth filter with the desired response characteristics.
cconv
—
[nargout,nargin]=argn();
cell2sos
—
Converts a cell array to a second order section matrix
cheb1ord
—
This function computes the minimum filter order of a Chebyshev type I filter with the desired response characteristics.
cheb2ord
—
This function computes the minimum filter order of a Chebyshev type II filter with the desired response characteristics.
chebwin
—
This function returns the filter coefficients of a Dolph-Chebyshev window.
cheby1
—
This function generates a Chebyshev type I filter with rp dB of passband ripple.
cheby2
—
This function generates a Chebyshev type II filter with rs dB of stopband attenuation.
check
—
funcprot(0);
chirp
—
This function evaluates a chirp signal at time t.
clustersegment
—
This function calculates boundary indexes of clusters of 1’s.
cmorwavf
—
funcprot(0);
convmtx
—
n=double(n);
corrmtx
—
Generate data matrix for autocorrelation matrix estimation
cummax
—
Cumulative maximum
cummin
—
Cumulative minimum
db
—
db2pow
—
dctmtx
—
decimate
—
rhs = argn(2)
dftmtx
—
diric
—
downsample
—
This function downsamples the signal by selecting every nth element.
dutycycle
—
ellip
—
This function generates an elliptic or Cauer filter with rp dB of passband ripple and rs dB of stopband attenuation.
ellipord
—
This function computes the minimum filter order of an elliptic filter with the desired response characteristics.
enbw
—
eqtflength
—
Modifies the input vector to give output vectors of the same length
falltime
—
fftfilt
—
Performs FFT-based FIR filtering using overlap-add method
filternorm
—
Calculates the L-2 norm or L-infinity norm of a digital filter
filtfilt
—
filtic
—
filtord
—
and denominator coefficients, a.
firpmord
—
Parks-McClennan optimal FIR filter order estimation
firtype
—
if (type(b)~=1) then
flattopwin
—
This function returns the filter coefficients of a Flat Top window.
fracshift
—
This function shifts the series x supplied as input argument by a number of samples d.
fwhm
—
This function computes peak full width at half minimum or at another level of peak minimum for vector or matrix data y supplied as input.
fwhmjlt
—
rhs = argn(2)
gauspuls
—
gaussdesign
—
GAUSSDESIGN designs a Gaussian pulse-shaping filter which is a low pass FIR
gaussian
—
This function returns a Gaussian convolution window.
gausswin
—
This function returns the filter coefficients of a Gaussian window.
gmonopuls
—
goertzel
—
Computes DFT using the second order Goertzel Algorithm
grpdelay
—
This function computes the group delay of a filter.
hann
—
This function returns the filter coefficients of a Hanning window.
helperHarmonicDistortionAmplifier
—
helperHarmonicDistortionADC Helper function for HarmonicDistortionExample.m
icceps
—
ICCEPS computes the inverse cepstrum of a real-valued input. This spectrum
iirlp2mb
—
This function does IIR Low Pass Filter to Multiband Filter Transformation.
impinvar
—
This function converts analog filter with coefficients b and a to digital, conserving impulse response.
impz
—
impzlength
—
Impulse response length
interp
—
function y = interp(x, q, n, Wc)
intfilt
—
invimpinvar
—
This function converts digital filter with coefficients b and a to analog, conserving impulse response.
is2rc
—
Convert inverse sine parameters to reflection coefficients
isallpass
—
[nargout,nargin]=argn();
isfir
—
[nargout,nargin]=argn();
islinphase
—
[nargout,nargin]=argn();
ismaxphase
—
[nargout,nargin]=argn();
isminphase
—
[nargout,nargin]=argn();
isstable
—
SOS matrix corresponds to [bi(1) bi(2) bi(3) ai(1) ai(2) ai(3)].
kaiser
—
This function returns the filter coefficients of a Kaiser window.
lar2rc
—
latc2tf
—
Convert lattice filter parameters to transfer function coefficients
latcfilt
—
function [f,g,zo]=latcfilt(k,x,v,zi,dim)
latcfilt1
—
function [f,g,zo]=latcfilt1(k,v,x,zi)
levdown
—
levin
—
[ar,sigma2,rc]=lev(r)
levinson
—
lpc
—
Linear prediction filter coefficients
lsf2poly
—
lsf2poly function convert line spectral frequencies to prediction polynomial.
mag2db
—
funcprot(0);
marcumq
—
This function computes the generalized Marcum Q function of order m with noncentrality parameter a and argument b.
medfilt1
—
1D median filtering
mexihat
—
meyeraux
—
midcross
—
modulate
—
Modulates signal according to the modulation method
morlet
—
movingrms
—
musicBase
—
Implements the core of the MUSIC algorithm
nnls
—
Non Negative Least Squares (nnls) for Ex=f with the constraint x>=0
nuttallwin
—
This function returns the filter coefficients of a Blackman-Harris window.
parzenwin
—
This function returns the filter coefficients of a Parzen window.
pchip
—
pchips
—
peak2peak
—
funcprot(0);
peak2rms
—
This function calculates the ratio of peak magnitude to the Root Mean Square(RMS) value.
peig
—
Psuedospectrum using the eigenvector method.
periodogram
—
funcprot(0);
phaseInputParseAs_ab
—
fs=0;
phaseInputParseAs_sos
—
fs=0;
phasedelay
—
cas variable is 2 if sos form is involved and 1 if direct rational form is given
phasez
—
cas variable is 2 if sos form is involved and 1 if direct rational form is given
pmusic
—
Psuedospectrum using MUSIC algorithm
poly2ac
—
Convert prediction polynomial to autocorrelation sequence.
poly2lsf
—
poly2rc
—
polyscale
—
errcheck1
polystab
—
This function stabilizes the polynomial transfer function.
polyval
—
pow2db
—
rhs = argn(2)
primitive
—
This function calculates the primitive of a given function supplied as input.
prony
—
pulseperiod
—
pulsesep
—
pulsewidth
—
pulstran
—
This function generates the signal y = sum(func(t+d,...)) for each d.
rc2ac
—
rc2is
—
Convert reflection coefficients to inverse sine parameters
rc2lar
—
rc2poly
—
rcosdesign
—
RCOSDESIGN computes the raised cosine FIR filter
rectpuls
—
rectwin
—
This function returns the filter coefficients of a rectangular window.
resample
—
This function resamples in the input sequence x supplied by a factor of p/q.
residued
—
residuez
—
risetime
—
rlevinson
—
rms
—
convert i/p values to their ascii values if they are of type char
rooteig
—
Frequencies and power of sinusoids using eigenvector algorithm
rootmusic
—
Frequencies and power of sinusoids using the root MUSIC algorithm
rssq
—
This function calculates the square root of the sum of values of input vector IN.
sampled2continuous
—
This function calculates the output reconstructed from the samples n supplied as input, at a rate of 1/s samples per unit time.
sawtooth
—
schtrig
—
This function implements a multisignal Schmitt triggers with lev levels supplied as input.
schurrc
—
narginchk(1,1,argn(2));
seqperiod
—
Calculates the period of a sequence
sgolay
—
This function computes the filter coefficients for all Savitzsky-Golay smoothing filters.
sgolayfilt
—
shanwavf
—
shiftdata
—
Shifts data by rearranging dimensions
slewrate
—
sos2cell
—
Converts a second order section matrix to a cell array
sos2ss
—
[nargout,nargin]=argn();
sos2tf
—
This function converts series second-order sections to direct H(z) = B(z)/A(z) form.
sos2zp
—
This function converts series second-order sections to zeros, poles, and gains (pole residues).
sosbreak
—
function for breaking a polynomial in second order polynomials (and an extra linear)
sosfilt
—
specgram
—
ss2sos
—
not taking if, order and scale as input since they do not seem useful
statelevels
—
stmcb
—
function [b,a] = stmcb( x, u_in, q, p, niter, a_in )
strips
—
Plots vector or matrix in strips
subspaceMethodsInputParser
—
Input parser to be used by pmusic and peig
tf2sos
—
This function converts direct-form filter coefficients to series second-order sections.
tf2zp
—
[z,p,k]= tf2zp(b,a);
tf2zpk
—
form
transpose
—
funcprot(0);
trial_iirlp2mb
—
B = varargin(1)
triang
—
This function returns the filter coefficients of a triangular window.
tripuls
—
truth
—
y = %t
tukeywin
—
This function returns the filter coefficients of a Tukey window.
udecode
—
Decodes the input uniformly quantized values
uencode
—
Performs uniform quantization of the input into 2^n levels
ultrwin
—
This function returns the coefficients of an Ultraspherical window.
unshiftdata
—
Inverts the effect of shiftdata
upfirdn
—
This function upsamples the input data, applies the FIR filter and then downsamples it.
upsample
—
This function upsamples the signal, inserting n-1 zeros between every element.
upsamplefill
—
This function upsamples a vector interleaving given values or copies of the vector elements.
var
—
vco
—
Voltage Controlled Oscillator
welchwin
—
This function returns the filter coefficients of a Welch window.
window
—
This function creates an m-point window from the function f given as input.
wkeep
—
wrev
—
xcorr2
—
zerocrossing
—
This function estimates the points at which a given waveform crosses the x-axis.
zp2sos
—
This function converts filter poles and zeros to second-order sections.
zplane
—
funcprot(0);
Report an issue
FOSSEE Signal Processing Toolbox