This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
Practical Manual
Lab: DSP
EXPERIMENT No. 1
Aim:- To represent cosine wave using MATLAB.
Deptt.of Electronics &Communication Engg.
(ECE)
RAO PAHALD SINGH GROUP OF
INSTITUTIONS
BALANA(MOHINDER GARH)123029
Prepared By. Checked By.
Mr.SANDEEP KUMAR Mr.KARAMBIR SHEORAN
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
PROGRAM NO -1
AIM:-To represent cosine wave using MATLAB. t = -pi:.0001:pi; y =cos(t), plot(t,y); xlabel(‘t’); ylabel(‘cos(t)’); title(‘cos’);
Command Window of Cosine function: -0.8776 -0.8776 -0.8777 -0.8777 Columns 57837 through 57840 -0.8778 -0.8778 -0.8779 -0.8779 Columns 57841 through 57844
-0.8780 -0.8780 -0.8781 -0.8781 Columns 57845 through 57848 -0.8782 -0.8782 -0.8783 -0.8783 Columns 57849 through 57852
-0.8784 -0.8784 -0.8785 -0.8785 Columns 57853 through 57856 -0.8785 -0.8786 -0.8786 -0.8787 Columns 57857 through 57860 -0.8787 -0.8788 -0.8788 -0.8789 Columns 57861 through 57864 -0.8789 -0.8790 -0.8790 -0.879 1 Columns 57865 through 57868
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
-0.8791 -0.8792 -0.8792 -0.8793 Columns 57869 through 57872 -0.8793 -0.8794 -0.8794 -0.8795 Columns 57873 through 57876 -0.8795 -0.8795 -0.8796 -0.8796 Columns 57877 through 57880
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
OUT PUT OF COS FUNCTION
Practical Manual
Lab: DSP
EXPERIMENT No. 2
Aim:- To represent exponential signal using MATLAB
Deptt. of Electronics &Communication Engg.
(ECE)
RAO PAHALD SINGH GROUP OF
INSTITUTIONS
BALANA(MOHINDER GARH)123029
Prepared By. Checked By.
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
Mr.SANDEEP KUMAR Mr.KARAMBIR SHEORAN
PROGRAM NO -2
AIM:-To represent exponential signal using MATLAB x = -pi:O.O1:pi; plot(x,sin(x)), xlabel(‘x’); ylabel(‘sinx’); title(‘exponential’);
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
OUT PUT OF EXPONENITAL FUNCTION
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
Practical Manual
Lab: DSP
EXPERIMENT No. 3
Deptt. of Electronics &Communication Engg.
(ECE)
RAO PAHALD SINGH GROUP OF
INSTITUTIONS
BALANA(MOHINDER GARH)123029
Prepared By. Checked By.
Mr.SANDEEP KUMAR Mr.KARAMBIR SHEORAN
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
PROGRAM NO -3
AIM:- To represent parabolic signal using MATLAB. N=50; n-50:1: N-1; x=n.ˆ2; plot(n,x); xlabel(‘n’); ylabel(‘x(n)’); title(‘parabolic’);
Command Window of Parabolic
0.8776 -0.8776 -0.8777 -0.8777 Columns 57837 through 57840
-0.8778 -0.8778 -0.8779 -0.8779 Columns 57841 through 57844 -0.8780 -0.8780 -0.878 1 -0.878 1 Columns 57845 through 57848 -0.8782 -0.8782 -0.8783 -0.8783 Columns 57849 through 57852 -0.8784 -0.8784 -0.8785 -0.8785 Columns 57853 through 57856 -0.8785 -0.8786 -0.8786 -0.8787 Columns 57857 through 57860 -0.8787 -0.8788 -0.8788 -0.8789 Columns 57861 through 57864 -0.8789 -0.8790 -0.8790 -0.8791 Columns 57865 through 57868
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
-0.8791 -0.8792 -0.8792 -0.8793 Columns 57869 through 57872 -0.8793 -0.8794 -0.8794 -0.8795 Columns 57873 through 57876 -0.8795 -0.8795 -0.8796 -0.8796 Columns 57877 through 57880 -0.8797 -0.8797 -0.8798 - . 79
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
OUT PUT OF PARABOLIC FUNCTION
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
Practical Manual
Lab: DSP
EXPERIMENT No. 4
Deptt. of Electronics &Communication Engg.
(ECE)
RAO PAHALD SINGH GROUP OF
INSTITUTIONS
BALANA(MOHINDER GARH)123029
Prepared By. Checked By.
Mr.SANDEEP KUMAR Mr.KARAMBIR SHEORAN
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
PROGRAM NO -4 AIM:- To represent sine wave using MATLAB. x = -pi: O.O1: pi; y =sin(x), plot(x, y); xlabel (‘x’); ylabel (‘sinx’); title (‘sine’);
Command Window of Sine: -0.9586 -0.9586 -0.9586 -0.9587 Columns 59949 through 59952
-0.9587 -0.9587 -0.9588 -0.9588 Columns 59953 through 59956 -0.9588 -0.9588 -0.9589 -0.9589 Columns 59957 through 59960
-0.9589 -0.9590 -0.9590 -0.9590 Columns 59961 through 59964
-0.9590 -0.9591 -0.9591 -0.9591 Columns 59965 through 59968 -0.9592 -0.9592 -0.9592 -0.9592 Columns 59969 through 59972 -0.9593 -0.9593 -0.9593 -0.9594 Columns 59973 through 59976 -0.9594 -0.9594 -0.9594 -0.9595 Columns 59977 through 59980 -0.9595 -0.9595 -0.9596 -0.959 Columns 59981 through 59984
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
-0.9596 -0.9596 -0.9597 -0.9597 Columns 59985 through 59988 -0.9597 -0.9598 -0.9598 - . 598 Columns 59989 through 5
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
Practical Manual
Lab: DSP
EXPERIMENT No.5
Deptt. of Electronics &Communication Engg.
(ECE)
RAO PAHALD SINGH GROUP OF
INSTITUTIONS
BALANA(MOHINDER GARH)123029
Prepared By. Checked By.
Mr.SANDEEP KUMAR Mr.KARAMBIR SHEORAN
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
PROGRAM NO -5
AIM: - To represent ramp signal using MATLAB. x = -pi:O.O1:pi; plot(x, sin(x)), xlabel(‘x’); ylabel(‘sinx’); title(‘ramp’);
Command Window of Ramp: Columns 58677 through 58680 -0.9149 -0.9149 -0.9150 -0.9150 Columns 58681 through 58684 -0.9150 -0.9151 -0.9151 -0.9152
Columns 58685 through 58688 -0.9152 -0.9152 -0.9153 -0.9153 Columns 58689 through 58692 -0.9154 -0.9154 -0.9154 -0.9155 Columns 58693 through 58696 -0.9155 -0.9156 -0.9156 -0.9156 Columns 58697 through 58700 -0.9157 -0.9157 -0.9158 -0.9158 Columns 58701 through 58704 -0.9158 -0.9159 -0.9159 -0.9160 Columns 58705 through 58708 -0.9160 -0.9160 -0.9161 -0.9161
DIGITAL SIGNAL PROCESSING LAB (ECE-429-F)
Columns 58709 through 58712 -0.9162 -0.9162 -0.9162 -0.9163 Columns 58713 through 58716 -0.9163 -0.9164 -0.9164 -0.9164 Columns 58717 through 58720 -0.916 -0.9165 -0.9166 -0.9166