0% found this document useful (0 votes)
62 views

United International University (UIU) : Submitted By: Md. Abidur Rahman: 024091018 Subject Code: EEE-312 Sec-A

This lab report from United International University's Digital Signal Processing Lab summarizes experiments on calculating factorials, defining a function to calculate the volume and surface area of a cube, plotting multiple sine waves on the same graph, and plotting the same sine waves on separate subplots. The report was submitted by Md. Abidur Rahman for the subject EEE-312.

Uploaded by

optimistic07
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

United International University (UIU) : Submitted By: Md. Abidur Rahman: 024091018 Subject Code: EEE-312 Sec-A

This lab report from United International University's Digital Signal Processing Lab summarizes experiments on calculating factorials, defining a function to calculate the volume and surface area of a cube, plotting multiple sine waves on the same graph, and plotting the same sine waves on separate subplots. The report was submitted by Md. Abidur Rahman for the subject EEE-312.

Uploaded by

optimistic07
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

United International University

(UIU)
Digital Signal Processing Lab.(EEE-312)

Lab Report No. 01

Submitted by:
Md. Abidur Rahman

: 024091018

Subject Code : EEE-312


Sec-A

Date of submission: 23-03-13

Question-01:
Sum=1;
N = input('The value of N = ');
for i=1:1:N
Sum = Sum*i;

% Sum=1.2.3.......N

end
Sum

Question-02:
function [ Volume, SA ] = cube( EL )
Volume = EL^(3);
SA = 6*EL^(2);
end

Question-03:
x=0:0.01:2*pi;
y1=10*sin(x);
y2=5*sin(2*x);
y3=2*sin(x).^(2);
plot(x,y1)
hold on
plot(x,y2,'r')
plot(x,y3,'k')

Question-04:
x=0:0.01:2*pi;
y1=10*sin(x);
y2=5*sin(2*x);
y3=2*sin(x).^(2);

subplot(3,1,1)
plot(x,y1)
subplot(3,1,2)
plot(x,y2,'r')
subplot(3,1,3)

plot(x,y3,'k')

You might also like