Sign in

username or email:

password:



Not a member?
Forgot your password?

Search code



Search tips

Ads

See Also

Embedded SystemsFPGA

DSP Code Sharing - Code Snippets - Code Examples

2D FFT [Scilab]

The code was written in scilab by me. This will be used to calculate the fast fourier transform of 2D Image like matrix....

posted by Senthilkumar R on Feb 2 2011
Comments (0) |

2D IFFT [Scilab]

The code was written in scilab by me. This will be used to calculate the Inverse fast fourier transform of 2D Transformed Image....

posted by Senthilkumar R on Feb 2 2011
Comments (0) |

Discrete Fourier Tranform Matrix generation [Scilab]

This function used to generate Discrete Fourier Transform kernel for 2D operations...

posted by Senthilkumar R on Feb 6 2011
Comments (0) |

Discrete Cosine Tranform Matrix generation [Scilab]

This function used to generate Discrete Cosine Transform kernel for 2D operations...

posted by Senthilkumar R on Feb 6 2011
Comments (0) |

sinc function in scilab [Scilab]

The inbuilt sinc scilab not giving correct result. Check my function....

posted by Senthilkumar R on Feb 8 2011
Comments (0) |

auto correlation in scilab [Scilab]

The correlation function in scilab....

posted by Senthilkumar R on Feb 8 2011
Comments (0) |

linear convolution in scilab [Scilab]

Program for linear using direct formula not using inbuilt function...

posted by Senthilkumar R on Feb 8 2011
Comments (0) |

Circular convolution [Scilab]

Circular convolution using DFT in scilab...

posted by Senthilkumar R on Feb 8 2011
Comments (0) |

2D Linear Convolution for 2D Image Processing [Scilab]

Performing 2D linear convolution involves taking 2D FFT of given 2D sequences and 2D IFFT of the resulting sequences....

posted by Senthilkumar R on Feb 27 2011
Comments (2) |

Continuous Time Fourier Series of Cosine signal [Scilab]

This program is used to calculate Continuous Time Fourier Series Spectral Coefficients of a periodic Cosine signal...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Continuous Time Fourier Series of sine signal [Scilab]

This program is used to calculate the Continuous Time Fourier Series Spectral Coefficients of a periodic sine signal...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

CTFS coefficients of a periodic square waveform [Scilab]

This program is used to calculate the CTFS coefficients of a periodic square waveform x(t) = 1, |t|<1, and 0, 1<|t|<2...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Continuous Time Fourier Transform of a Exponential Signal [Scilab]

Continuous Time Fourier Transform of a Continuous Time Exponential Signal x(t)= exp(-t)u(t), and Plotting its Magnitude response and phase response...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Continuous Time Fourier Transform of a Square Waveform [Scilab]

This program is used to calculate the Continuous Time Fourier Transform and Frequency Response of a Square Waveform...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Discrete Plot in scilab [Scilab]

This Program Illustrates the discrete plot in scilab using plot2d3 function...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Decimation or Downsampling in scilab [Scilab]

This program perfoms Multirate Signal Processing in scilab - Downsampling a sinusoidal signal by a factor of 2...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Interpolation or upsampling in scilab [Scilab]

This program performs Multirate Signal Processing in scilab - Upsampling a sinusoidal signal by a factor of 2...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Window Functions for FIR Filter design [Scilab]

This Program is used to generate different window functions For FIR Filter design based on windowing technique...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Frequency response of window functions for FIR Filter [Scilab]

This Program is used to find and plot the Frequency response of(1) Hanning window (2)Hamming window for M = 11...

posted by Senthilkumar R on Mar 21 2011
Comments (2) |

Analog IIR filter to Digital IIR Filter - Backward Difference [Scilab]

This Program is used To convert analog filter into digital filter usingBackward Difference  method...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

Analog IIR to Digital IIR -Bilinear Transformation [Scilab]

This Program is used To convert analog IIR filter into digital IIR filter usingBilinear Transformation...

posted by Senthilkumar R on Mar 21 2011
Comments (0) |

FIR Band Pass Filter - Remez Algorithm Based [Scilab]

This program is used to design FIR Symmetric Band pass Filter using Remez algorithm. In scilab this has been implemented by using the inbuilt command eqfir()....

posted by Senthilkumar R on Mar 22 2011
Comments (0) |

FIR Band Pass Filter - Remez Algorithm -Previous one for LPF [Scilab]

This program is used to design a FIR symmetric BPF using Remez algorithm. In scilab this has been implemented by using the inbuilt function eqfir(). The previous one FIR BPF is actually for Low Pass F...

posted by Senthilkumar R on Mar 22 2011
Comments (0) |

FIR - LPF -Window based in scilab [Scilab]

Scilab Program to design a FIR Low Pass Filter- Window Based Technique...

posted by Senthilkumar R on Mar 22 2011
Comments (3) |

FIR - HPF - Window based in scilab [Scilab]

Scilab PROGRAM TO DESIGN AND OBTAIN THE FREQUENCY RESPONSE OF FIR FILTERHIGH PASS FILTER -WINDOW BASED...

posted by Senthilkumar R on Mar 22 2011
Comments (0) |

FIR BPF - Window Based [Scilab]

Scilab PROGRAM TO DESIGN AND OBTAIN THE FREQUENCY RESPONSE OF FIR FILTERBand PASS FILTER - Window Based...

posted by Senthilkumar R on Mar 22 2011
Comments (0) |

FIR - BSF - Window Based [Scilab]

Scilab PROGRAM TO DESIGN AND OBTAIN THE FREQUENCY RESPONSE OF FIR FILTERBand Stop FILTER (or)Band Reject Filter - Window Based...

posted by Senthilkumar R on Mar 22 2011
Comments (0) |

Design of FIR Filter using Frquency Sampling Technique-LPF [Scilab]

This program is used to Design of FIR Filter using Frquency Sampling Technique-Low Pass Filter Design...

posted by Senthilkumar R on Mar 22 2011
Comments (0) |

Analog IIR Butterworth Filter - Scilab [Scilab]

To Design an Analog Butterworth Filter For the given cutoff frequency Wc = 500 Hz and filter order...

posted by Senthilkumar R on Mar 22 2011
Comments (0) |

Average power of 1D signal [Matlab]

This program is used to calculate the average power of a voice signal...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

NLMS Adaptive filter [Matlab]

This program is used to implement a Normalized least mean square adaptive filter....

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Analog Filter transformations -IIR Butterworth Filter [Scilab]

To Convert Analog LPF into [1].High Pass [2].Band Pass IIR Butterworth FilterUsing Analog Filter Transformations For the given cutoff frequency Wc = 500 Hz....

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Digital IIR Filter Transformatin - LPF to HPF [Scilab]

Using Digital Filter Transformation, the First order Analog IIR Butterworth LPF converted into Digital Butterworth HPF...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Digital Filter Transformation - LPF to BPF [Scilab]

Transformation of LPF IIR Digital Butterworth Filter into BSF using Digital Filter Transformation...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Digital Filter Transformation - LPF to BSF [Scilab]

Transformation of LPF IIR Digital Butterworth Filter into BSF using Digital Filter Transformation...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Digital Filter Transformation - LPF to BPF (correct) [Scilab]

Transformation of LPF IIR Digital Butterworth Filter into BPF using Digital FIlter Transformation...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Power Spectrum using N-point DFT [Scilab]

Evaluating power spectrum of a discrete sequence Using N-point DFT...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Spectrum of signal (Frequency Response)- Blackmann Window [Scilab]

Determination of spectrum of a signal With maximum normalized frequency f = 0.4using Blackmann window...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Hamming Code(7,4) [Scilab]

Hamming Encoding H(7,4) .Code Word Length = 7, Message Word length = 4, Parity bits =3...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Convolutional Encoding [Scilab]

Convolutional Code Generation - Time Domain Approach...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Hamming Weight and Hamming Distance [Scilab]

Hamming Weight and Hamming Distance H(7,4).Code Word Length = 7, Message Word length = 4, Parity bits =3...

posted by Senthilkumar R on Mar 24 2011
Comments (1) |

Logical XOR - not available inh scilab 5.2 [Scilab]

This function is used to perform the logical xor. This is a very useful function because it is not available in the scilab version upto 5.2.2....

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

PseudoNoise Sequence Generator [Scilab]

PN sequence generation - Maximum-length sequence generatorProgram to generate Maximum Length Pseudo Noise Sequence...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

PCM Encoding-Converting Quantized decimal sample values in to binary [Scilab]

Converting Quantized decimal sample values in to binary....

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Uniform Quantization - PCM [Scilab]

This program is used to perform uniform Quantization in pulse code modulation transmission....

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

u -Law and Inverse u-Law [Scilab]

The functions u-law and Inverse u law used to perform u-law compression and expansion...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

A-Law Compression - non uniform Quantization [Scilab]

This program is used to perform A-Law Compression...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Unipolar NRZ [Scilab]

Nonreturn-to-zero unipolar : Discrete PAM Signals Generation...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Differential Phase Shift Keying - [Scilab]

Generation of Differential Phase shift keying signal...

posted by Senthilkumar R on Mar 24 2011
Comments (0) |

Image Denoising - Bayesshrink [Matlab]

This function used to denoise the noisy image using Bayesoft method...

posted by Senthilkumar R on Jul 30 2011
Comments (2) |

Image denoising -Bayeshrink threshold calculation [Matlab]

This function used to calculate the threshold used for bayesoft image denoising method...

posted by Senthilkumar R on Jul 30 2011
Comments (2) |

Image denoising - Bishrink threshold calculation [Matlab]

This function used to calculate the threshold for image denoising usin bishrink method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image denoising - Threshold calculation for Bishrink method [Matlab]

This function used to calculate the threshold for image denoising using bishrink method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image denoising - Bishrink method [Matlab]

This function used to denoise a noisy image using bishrink method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image Denoising -threshold calculation using modified bivariate method [Matlab]

This function used to calculate the threshold used for image denoising using modified threshold method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image denoising - Oracleshrink method [Matlab]

This function used to denoise a noisy image using oraclesoft method...

posted by Senthilkumar R on Jul 30 2011
Comments (1) |

Image denoising: Threshold calculation for oraclesoft [Matlab]

This function used to calculate the threshold for oracleshrink image denoising method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image denoising: Peak signal to Noise ratio calculation [Matlab]

This function used to calculate the peak signal to noise ratio for denoised image...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image denoise: denoising using soft threshold [Matlab]

This function used to denoise a noisy image using simple soft threshold method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image denoise: Threshold for sureshrink method [Matlab]

This function used to calculate threshold for sureshrink image denoising method...

posted by Senthilkumar R on Jul 30 2011
Comments (1) |

Image denoising: using vishushrink method [Matlab]

This function used to denoise a noisy image using vishushrink method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Image denoising: Threshold calculation for vishushrink method [Matlab]

This function used to calculate the threshold for vishushrink method...

posted by Senthilkumar R on Jul 30 2011
Comments (0) |

Chaning the bit depth in speech samples [Scilab]

Read a speech signal and change the bit depth from 16 bits to 8 bits...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

Full band Echo canceller [Scilab]

Full band echo canceller using Adaptive filer - scilab code...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

Function to perform Adaptive filtering [Scilab]

This function performs echo cancellation using NLMS adaptive filter...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

Function used to calculate average power [Scilab]

This function sholud be used along with funciton adapt_filt...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

Plot the Low pass and High pass filtered speech signal [Scilab]

This program used to plot low pass filtered and high pass filtered speech signal using scilab software program...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

sound play command in scilab [Scilab]

This program used to play a voice sinal with different bit depth...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

scilab program to speech signal information [Scilab]

This program is used to get speech or voice signal informations such as sampling rate, bit deoth and tine duration of speech signal etc...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

speech signal-sampling rate conversion [Scilab]

This program is used to perform interpolation and decimation by a factor of 2 for a speech signal...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

Speech Noise cancellation - scilab code [Scilab]

This program is used to perform speech noise cancellation using LMS adaptive filter in scilab...

posted by Senthilkumar R on Dec 28 2011
Comments (2) |

Subband coding speech signal-scilab code [Scilab]

This program is used for subband coding of speech signals and plotting their response...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

PSD Estimation [Blackmann-Tukey Method]-scilab code [Scilab]

This program is used to calculate the power spectrum estimate using Blackmann-tukey method using scilab software...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

Comparison of different power spectrum estimates [Scilab]

This scilab program is used to compare the frequency resolution of different power spectrum estimation methods...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

PSD estimation using N-point DFT -scilab code [Scilab]

This scilab is used for PSD estimation usng N-point DFT (8,16,32 point)...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

PSD estimation window based-scilab code [Scilab]

This scilab program is used for window based power spectrum estimation...

posted by Senthilkumar R on Dec 28 2011
Comments (0) |

Constellation for Binary FSK [Scilab]

This program is used to plot a constellation diagram for Binary FSK...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Constellation diagram for Binary PSK [Scilab]

This program is used to plot a constellation diagram for Binary PSK...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Constellation Diagram for Binary QPSK [Scilab]

This program is used to plot a constellation diagram for QPSK...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Convolutional coding using transform domain approach [Scilab]

This function is used to find convolutional encoder output using transform domain approach...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Direct Sequence Spread Spectrum (DS-BPSK) [Scilab]

This function is used to give a demo about generation of waveforms in direct sequence spread spectrum technique...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Reed Solomon Codes [Scilab]

This funtion is used to generate single error correcting RS code with a 2 bit byte...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Repetition code [Scilab]

This program is used to generate repetition code for the following specifications: number of bits =5, message bit value =1...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Equalizer to compensate aperture effect [Scilab]

This function is used to design an equalizer which will be useful to compensate the aperture effect produced in the flat top sampling....

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Duobianry Signaling-Amplitude & Phase Response [Scilab]

This function is used plot the amplitude spectrum and phase spectrum of duobinary signaling scheme...

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Duobinary Encoder and Decoder [Scilab]

This function is used to generate duobinary encoder and decoder output with example input and output are pasted below the function. You can test those inputs and verify your result....

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Modified Duobinary Signaling-Spectrum [Scilab]

This function is used to plot the modified duobinary signaling scheme amplitude and phase spectrum....

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Raised Cosine Spectrum [Scilab]

This function is used to generate raised cosine spectrum for three different roll-off factors....

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Power Spectrum of Discrete PAM signals [Scilab]

This function is used to plot and compare the power spectra of different discrete PAM signlas such as: NRZ polar, NRZ Bipolar, NRZ Unipolar, Manchester format etc....

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Power spectra of MSK & QPSk [Scilab]

This is used to plot and compare the power spectra of M-ary signaling scheme and QPSK....

posted by Senthilkumar R on Mar 28 2012
Comments (0) |

Power spectra of MPSK [Scilab]

This function is used to plot and compare power spectra of different M-ary PSK schemes....

posted by Senthilkumar R on Mar 28 2012
Comments (0) |