Software Listing of Author : "Yashwant Marathe"
- Sample Rate Altering Blocks
- License: Freeware
- Price: 0.00


1)Upsampler Block: Description: The characterisation of the upsampler block can be done by the formula: y(n)=x(n/L){n=...-L,0,+L...}; = 0 otherwise. Syntax: [y ny]=upsampler(x,n,L) x is a sequence over indices specified by n.L is the upsampling rate. It pads L-1 zeros between any 2 consecutive samples in x. y is the output sequence over indices specified by ny. 2)Downsampler Block: Description: The characterisation of the downsampler block can be done by the formula: y(n)=x(nM) Syntax: [y ny]=downsampler(x,n,M) x is an input sequence over indices specified by n.L is the downsampling rate.It ignores (M-1) samples between kth sample and (k+M)th sample. y is the output sequence over indices specified by ny
- Publisher: Yashwant Marathe
- Date Released: 04-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Signal Processing blocks
- License: Freeware
- Price: 0.00


1)intg.m Description: This m-file implements a digital integrator. The equation for a digital integrator is: y(n)=y(n-1)+0.5*T*[x(n)+x(n-1)]; T-interval length Syntax: y=intg(input,intv); The argument 'input' is the input sequence. The argument 'intv' is T,the interval length. 'y' is the output sequence. It is of the same length as the input sequence. [y h]=intg(input,intv); The argument 'h' gives the impulse response for the integrator. [y h]=intg(input,intv,'fig') The extra argument 'fig' plots the input sequence, the output sequence and the impulse response of the integrator. 2)mpointaverage.m Description: This m-file implements a M-point moving average system. The equation is: y(n)=(x(n)+x(n-1)+.....+x(n-M))/M; M is the order of the M-point moving average system. Syntax: y=mpointaverage(input,order) The argument 'input' is the...
- Publisher: Yashwant Marathe
- Date Released: 06-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
