# Ec1302 dsp lab in matlab

The following Matlab project contains the source code and Matlab examples used for ec1302 dsp lab.

The following Matlab project contains the source code and Matlab examples used for ec1302 dsp lab.

The following Matlab project contains the source code and Matlab examples used for display and design tool for fft windows - alternative to wintool.m
.
---- winplt.

The following Matlab project contains the source code and Matlab examples used for spectrum scope.
Spectrum scope makes it easy to compute and display the fft of a live signal.

The following Matlab project contains the source code and Matlab examples used for ferrigno&d'amico window.
These windows are obtained by the polynomial expression w(n)=(16(n/Ns-1))^4-8(n/8Ns-1))^2+1)^L
0<=n<=(Ns-1)/2 w(-n)=w(n)
where w(n) is the nth value of the window (in the time domain) and Ns is the number of samples of the window itself.

The following Matlab project contains the source code and Matlab examples used for direction of arrival estimation with music algorithm.
In many practical signal processing problems, the objective is to estimate from measurements a set of constant parameters upon which the received signals depend.

The following Matlab project contains the source code and Matlab examples used for data weighted averaging for simulink.
The SIMULINK- models of multibit Delta-Sigma ADC and Delta-Sigma DAC all have a non-ideal D/A-converter.

The following Matlab project contains the source code and Matlab examples used for extract instantaneous envelope and frequency from a bandlimited signal via hilbert transform. .
HILBERT2 Extract instantaneous envelope and frequency from a bandlimited signal via Hilbert transform.

The following Matlab project contains the source code and Matlab examples used for n dimensional fourier interpolation.
Performs N-D FFT interpolation on any data for which fftn works. Will upsample by zero-filling, downsample by truncating high frequencies, or combine both up- and downsampling by dimension to allow arbitrary reshaping.

The following Matlab project contains the source code and Matlab examples used for delta modulation.
one bit per sample is actually one bit per sample difference

The following Matlab project contains the source code and Matlab examples used for pulse code modulation .
In this program, MSE, Step size, Bit rate, Quantization Noise are also calculated

The following Matlab project contains the source code and Matlab examples used for fftnoise generate noise with a specified power spectrum.
USAGE: noise=fftnoise(f[,Nseries])
INPUTS:
f: the fft of a time series (must be a column vector)
Nseries: number of noise series to generate.

The following Matlab project contains the source code and Matlab examples used for floyd steinberg dithering algorithm.
This m-file implements the Floyd Steinberg dithering algorithm, which can be considered as a type of image binarization with additional human visual considerations.

The following Matlab project contains the source code and Matlab examples used for first order statistics filter (sigma filter lee's filter).
fcnFirstOrderStatisticsFilter performs noise filtering on an image based on using First Order Local Statistics around a prespecified pixel neighborhood.

The following Matlab project contains the source code and Matlab examples used for displays a two dimensional discrete fourier transformation..
Easy to use display function for analyzing the FFT of tow-dimensional signals.

The following Matlab project contains the source code and Matlab examples used for fourier coefficient conversion.
[a, b] = FOURIERexp2cossin(c)
Calculate the cos (a) & sin (b) coefficients of the exponential
Fourier coefficients (c) returned by fft(x)/size(x,1),
while isreal(x) = true
needs the unshifted coefficients as input
c = FOURIERcossin2exp(a, b)
Calculate the exponential Fourier coefficients (c) of the
cos (a) & sin (b) coefficients while a(1) = a0 .

The following Matlab project contains the source code and Matlab examples used for identification of lti system with nonlinear feedback.
A nonlinear identification scheme is provided for a LTI-system with a feedback-nonlinearity, which depends on the input and LTI-system output.

The following Matlab project contains the source code and Matlab examples used for up and down sampling.
% This function is defined for both up and down sampling of
% any signal x[n]:: [y m]= udnsample(x,n,M)
% ===========================================================
% |***For Down Sampling::If downsampling factor is 2 then M=2|
% |***For Up sampling::If upsampling factor is 2 then M=1/2 |
% ============================================================
% x is the input signal and n is axis for it.

The following Matlab project contains the source code and Matlab examples used for uniform filter bank.
This function can be used to design a uniform filter bank (with M analysis and M synthesis filters) so that the perfect reconstruction is almost achieved.

The following Matlab project contains the source code and Matlab examples used for welchwin welch (parabolic) window function.
WELCHWIN Welch (parabolic) window
Usage:
w = welchwin(n) returns the n-point parabolic window
n: scalar window length
w: column vector of window values
Example:
t = (0:9)';
s = rand(1,10)';
n = length(s);
w = welchwin(n);
s2 = s.

The following Matlab project contains the source code and Matlab examples used for frequency band for dwt.
Here :
% "fs" is the sample frequency
% "lv" is level of decomposition
% Output are :
% "cA" is approximation frequency band
% "cDlv" is matrix of "lv" detail frequency bands.
@Hannover 26-Dec-2012

The following Matlab project contains the source code and Matlab examples used for h infinity optimal fractional delay filter.
This is a code for designing H-infinity optimal fractional delay filters proposed first in the following paper:
M.

The following Matlab project contains the source code and Matlab examples used for filter bank.
perfect reconstruction filter bank

The following Matlab project contains the source code and Matlab examples used for sine wave spectrum analysis function.
% [fsig,amp,vos,snr,thd,sndr,enob,phi]=fft_hann(data, bw_low, bw_high, fs, fig, tit, opt);
% [fsig,amp,vos,snr,thd,sndr,enob,phi]=fft_hann(data, 20, 20e3, 65536, '', 'No title', opt);
% opt=fft_hann(); % return default option.

The following Matlab project contains the source code and Matlab examples used for a user-friendly tool for signal filtering and feature extraction. well-suited to large data sets! .
FeatureFinder is a MATLAB-based software package that lets you organize your signals, visually review them with speed and ease, apply filters and normalization, and export meaningful signal features in a ready-to-analyze format.

The following Matlab project contains the source code and Matlab examples used for norton beer apodization filter.
nortonbeer produces a one-dimensional Norton-Beer apodization filter
nortonbeer(W) returns the W-point symmetric Norton-Beer window in a
column vector.

The following Matlab project contains the source code and Matlab examples used for filter characteristics.
Using this Matlab script you get the amplitude response, the phase response,the frequency vector, the complex transfer function by knowing the filter coefficients:

The following Matlab project contains the source code and Matlab examples used for ramer douglas peucker algorithm demo.
This is a demo of the Ramer-Douglas-Peucker algorithm.

The following Matlab project contains the source code and Matlab examples used for filter for discrete time signal.
[y_fl, Y_fl, f, Y, f_fl, fl_function, filter]=f4ts(y,Fs,filter,plot1)
filter that clean the signal from diffrent kind of noise.

The following Matlab project contains the source code and Matlab examples used for use fourier interpolation to increase sampling of an image. also includes an optional filter. .
Zero-pads the FFT of an image up to the desired size, then performs IFFT on larger array.

The following Matlab project contains the source code and Matlab examples used for psd (power spectral density), and amplitude spectrum with adjusted fft.
Function [fy]=FFT(y,Fs)
1)computes the Power spectral density and Amplitude spectrum (P(f),F(f))
of 1d signal y(t) with sample rate Fs (Nyquist rate) which is known% apriori.