Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
matlab programs manual

matlab programs manual

Ratings: (0)|Views: 1,451|Likes:
Published by sudharsan
used for mtech students
used for mtech students

More info:

Published by: sudharsan on Sep 26, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less





RAJEEV GANDHI MEMORIAL COLLEGE OF ENGG AND TECH, NANDYALM.Tech (Digital Systems Computer Electronics)-II SEMSIGNAL PROCESSING LABORATORYLIST OF EXPERIMENTS:1. Program to generate and plot various basis and trigonometric sequences2. Program to find the convolution of given sequence with and without using built-in functions and to plot the convolved sequence3. Program to find the correlation of given sequences with and without usingbuilt-in functions and to plot the correlated sequence4. Program to simulate the given system and to plot its frequency response andverify its stability described either by differential equations or by systemfuction5. Program to verify the properties(symmetry properties) of Fourier Transform6. Program to verify Multirate Processing concepts of given signal (decimation/interpolation)7. Program to design the following I I R filter (using BW & CB approximation)i.LPFii.HPFiii.BPFiv.BSFFor the given specifications and plot its frequency response8. Program to design various FIR filters usinga)Rectangular windowb)Hamming windowc)Hanning windowd)Blackman windowe)Kaiser windowFor the given specifications and plot its frequency response9. Program to design MR filters using Fourier series method10. Program to find the power spectral density of given signal and to plot . 1.a. Addition of two sine wavesN=21;n=0:1:N-1;x=sin(.1*pi*n)+sin(.2*pi*n);stem(n,x);xlabel('n');ylabel('x');title('addition of two sine wave sequences'); 1.b.Program for the generation of circletheta=linspace(0,2*pi,100);x=cos(theta);y=sin(theta);subplot(2,3,2);plot(x,y,'go');axis('equal');xlabel('x(n)');ylabel('y(n)');title('circle');OUTPUT OF CIRCLE: 
1.c.Program for the generation of impulse signalt=-2:1:2;y=[zeros(1,2) ones(1,1) zeros(1,2)];subplot(2,3,1);stem(t,y);ylabel ('---------ï
Amplitude ');xlabel('-------ï
 normalised frequency ');Output of impulse signal 1.d.Program for the generation of ramp signaln1=input('enter the length of ramp sequence');t=0:n1;y=t;subplot(2,3,3);stem(t,t);ylabel('----ï
normalised frequency'); 1.e.Program for the generation of step signalN=input('enter the length of the sequence');x=ones(1,N);n=0:1:N-1;subplot(2,2,1);stem(n,x);ylabel('Amplitude-->');xlabel('-------> normalised frequency');RESULT:input sequence:21 1.f.Program for the generation of sine waveformt=0:.01:pi;y=sin(2*pi*t);subplot(2,1,1);stem (t,y);ylabel('-----ï
Amplitude ');xlabel('----ï
normalised frequency ');Output of sine waveform 1.g.Program for the generation of exponential signaln2=input('enter the length of exponential sequence');t=0:n2;a=input('enter the a value');y=exp(a*t);subplot(2,2,4);stem(t,y);ylabel('Amplitude-->'); xlabel('------ï
normalised frequency');RESULT:enter the length of exponential sequence5
enter the a value2 2.a.Convolutionx=input('enter the 1st sequence');h=input('enter the 2nd sequence');y=conv2(x,h);subplot(3,1,1);stem(x);ylabel('amplitude');xlabel('(a)n');subplot(3,1,2);stem(h);ylabel('amplitude');xlabel('(b)n');subplot(3,1,3);stem(y);ylabel('amplitude');xlabel('(c)n');disp(y) Result:enter the 1st sequence[3 4 5 6]enter the 2nd sequence[3 4 5 6]9 24 46 76 73 60 36 2.b.CIRCULAR CONVOLUTIONx1=input('enter the seq1')x2=input('enter the seq2')l1=length(x1)l2=length(x2)n1=0:1:l1-1subplot(3,1,1)stem(n1,x1)xlabel('time index')ylabel('amplitude')title('first sequence')n2=0:1:12-1subplot(3,1,2)%stem(n2,x2)xlabel('time index')ylabel('amplitude')title('second sequence')N=max(l1,l2)y=conv2(x1,x2,N)N=max(l1,l2)n3=0:1:N-1subplot(3,1,3)stem(n3,y)xlabel('time index')ylabel('amplitude')title('circular convolution')CIRCULAR CONVOLUTION FUNCTION FILE 

Activity (13)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Made Bien liked this
Kumar Lama liked this
adddata liked this
tibadana liked this
ankitashweta liked this
Kishore Odugu liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->