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

EXPT1 With Codes

This lab report summarizes the student's work on signals spectra and signal processing. Code was used to perform calculations on matrices including addition, multiplication, division, and determinants. Screenshots provide visual evidence of the calculations. The student calculated matrix operations, determinants, and ratios of determinants to analyze signals and spectra.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

EXPT1 With Codes

This lab report summarizes the student's work on signals spectra and signal processing. Code was used to perform calculations on matrices including addition, multiplication, division, and determinants. Screenshots provide visual evidence of the calculations. The student calculated matrix operations, determinants, and ratios of determinants to analyze signals and spectra.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

MAPÚA INSTITUTE OF TECHNOLOGY

SCHOOL OF EE-ECE-CoE
INTRAMUROS, MANILA

SIGNALS SPECTRA, AND SIGNAL PROCESSING


LABORATORY
Module No.: __1__

September 2, 2020 _ September 3, 2020

DATE PERFORMED D A T E SU B M I T T E D

Name: Nagayo, Paolo Manuel A.


Course/Sec: ECE107L/B4
Grade
Screenshots:

1.)

2.)
3.)
4.)
Codes used:

>> (0.0004123 + 5.67e-3).*0.4567e-4

ans =

2.7778e-07

>> 5.*sqrt(2.*pi)/3

ans =

4.1777

>> 7.25+0.25.*acosh(((2.75)./(2.*(0.25)))-1)

ans =

7.7962

>> X=[1, 1, 3, 6; -4, -3, -2, -1; 1, 7, 3, -1; 4, 2, 0, -2]

X=

1 1 3 6

-4 -3 -2 -1

1 7 3 -1

4 2 0 -2
>> Y=[1, 3, 9, -8; -5, -3, -1, 1; 5, 3, 4, 5; -1, 2, -3, 4]

Y=

1 3 9 -8

-5 -3 -1 1

5 3 4 5

-1 2 -3 4

>> Z=[7, 9, -1, 7; 1, 0, -2, 10; 2, 8, 3, -1; 5, 6, 7, 8]

Z=

7 9 -1 7

1 0 -2 10

2 8 3 -1

5 6 7 8

>> Q=X+Y

Q=

2 4 12 -2

-9 -6 -3 0

6 10 7 4

3 4 -3 2

>> S= X.*Z

S=

7 9 -3 42

-4 0 4 -10

2 56 9 1

20 12 0 -16

>> R= Z./Y
R=

7.0000 3.0000 -0.1111 -0.8750

-0.2000 0 2.0000 10.0000

0.4000 2.6667 0.7500 -0.2000

-5.0000 3.0000 -2.3333 2.0000

>> T = (X*Y).^2

T=

25 441 4 1024

4 121 1444 225

324 121 289 100

16 4 1600 1444

>> U=[X(:,2),Y(:,2),Z(:,2),R(:,2)]

U=

1.0000 3.0000 9.0000 3.0000

-3.0000 -3.0000 0 0

7.0000 3.0000 8.0000 2.6667

2.0000 2.0000 6.0000 3.0000

>> V=[Q(3,:);S(3,:);X(3,:);Z(3,:)]

V=

6 10 7 4

2 56 9 1

1 7 3 -1

2 8 3 -1

>> P=52.7./(exp(0.75.*5))
P=

1.2394

>> A=[5, 1, -2; 3, -2, 1; -1, 2, 7]

A=

5 1 -2

3 -2 1

-1 2 7

>> X1=[9, 1, -2; 1, -2, 1; 5, 2, 7]

X1 =

9 1 -2

1 -2 1

5 2 7

>> X2=[5, 9, -2; 3, 1, 1; -1, 5, 7]

X2 =

5 9 -2

3 1 1

-1 5 7

>> X3=[5, 1, 9; 3, -2, 1; -1, 2, 5]

X3 =

5 1 9

3 -2 1

-1 2 5
>> d=det(A)

d=

-110

>> dx1=det(X1)

dx1 =

-170

>> dx2=det(X2)

dx2 =

-220

>> dx3=det(X3)

dx3 =

-40

>> dx_1=dx1./d

dx_1 =

1.5455

>> dx_2=dx2./d

dx_2 =

>> dx_3=dx3./d

dx_3 =

0.3636

You might also like