0% found this document useful (0 votes)
150 views4 pages

Activity 2: Laplace and Inverse Laplace Transform Using Matlab

1) The document is a lab report from the Electronics Engineering Department at Bulacan State University for an activity using MATLAB to perform Laplace and inverse Laplace transforms. 2) It includes the student's name, date, and instructor followed by their responses using MATLAB code to calculate various Laplace and inverse Laplace transforms of given equations. 3) The student provides short answers to questions about the effects of using the "pretty" and "simplify" functions in MATLAB.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
150 views4 pages

Activity 2: Laplace and Inverse Laplace Transform Using Matlab

1) The document is a lab report from the Electronics Engineering Department at Bulacan State University for an activity using MATLAB to perform Laplace and inverse Laplace transforms. 2) It includes the student's name, date, and instructor followed by their responses using MATLAB code to calculate various Laplace and inverse Laplace transforms of given equations. 3) The student provides short answers to questions about the effects of using the "pretty" and "simplify" functions in MATLAB.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Bulacan State University

College of Engineering
Electronics Engineering Department

Activity 2: Laplace and Inverse


Laplace Transform Using
MATLAB
ECE 306L: Feedback and Control Systems Laboratory

NAME: FELIPE, Julie Anne C. ECE 3-A

Date Performed: 4/25/21

Grades:

Base Points: 50
Creating Commands (15):
MATLAB Responses (15):
Answer to Questions (10):
Neatness (5):
Punctuality (5):

Engr. Jenette C. Centeno


Instructor

MATLAB 1 Response: Laplace Transform


F1 =
= 2/(s + 1) - 2/(s + 2) - 2/(s + 2)^2
MATLAB 2 Response: Laplace Transform
2 2 2
s +1
- s +1
- ¿¿

MATLAB 3 Response: Laplace Transform

2
¿¿

Question:
1.What happen to the equation after the pretty function?
Using the “pretty” function makes the function literally pretty.
Compared to the first font, it is much easier to read and observe the
equation that you are typing with this pretty function command.
2.What happen to the equation after the simplify function?
As the word itself suggest, using the simplify command makes the
equation in the MATLAB in its simplest form. It is what most of our
professor requires in order to see whether a complex function can be
simplified to solve and to better understand it.

MATLAB 4 Response: Inverse Laplace Transform

2∗¿ ¿

A. Now, create a command that will perform the Laplace Transform of the equation below:
f 6 ( t )=e4 t +sin sin ( t−2 ) +t 2 e−2 t

» syms t
» f6=(exp(4*t))+(sin(t-2))+((t^2)*(exp(-2*t)));
» F6=laplace(f6)

F6 = ¿ ¿

B. Now, create a command that will perform the Laplace Transform of the equation below:
f 7 ( t )=t sin sin (2 t )+ e−2 t
» syms t
» f7=(t*(sin(2*t))+exp(-2*t);
» F7=laplace(f7)

F7 = ¿ ¿

C. Now, create a command that will perform the Laplace Transform of the equation below:
f 8 ( t )=et (3 t)

» syms t
» f8=(exp(t))*(cos(3*t))^2;
» F8=laplace(f8)

F8 = ¿ ¿

D. Now, create a command that will perform the Inverse Laplace Transform of the equation
below:
s+2
H 1 ( s )=
s + 4 s2 +3 s
3

» syms s
» H1=(s+2)/((s^3)+(4*(s^2))+(3*s));
» h1=ilaplace(H1)
−t −3∗t
h1 = 2 − e − e
3 2 6
E. Now, create a command that will perform the Inverse Laplace Transform of the equation
below:
s 2+ 2 s+3
H 2 ( s )=
( s+ 1 )3

» syms s
» H2=(( s ¿ ¿ ¿2 +2∗s )+3 ¿ /((s+ 1)3 );
» h2=ilaplace(H2)

h2 = (t 2+1 ¿∗e−t

F. Now, create a command that will perform the Inverse Laplace Transform of the equation
below:
5 s+3
H 3 ( s )=
s + 6 s 2+ 11 s+ 6
3

» syms s
» H3=(5*s + 3)/(s^3+6*s^2 + 11*s +6);
» h3=ilaplace (h3)

h3 = (-e 2∗t +7∗e t −6 ¿∗¿ -e−3∗t

You might also like