0% found this document useful (0 votes)
41 views2 pages

Experiment No.2 L T U Matlab: Aplace Ransform Sing 2.1 Objective 2.2 Laplace Transform Using MATLAB

This document discusses using MATLAB to compute Laplace transforms and inverse Laplace transforms. It shows how to use the laplace and ilaplace commands to find the Laplace transform of t, equal to 1/s^2, and the inverse Laplace transform of (s-5)/(s(s+2)^2), equal to -5/4+7/2t*exp(-2t)+5/4*exp(-2t). It then provides examples of finding the Laplace and inverse Laplace transforms of various functions.

Uploaded by

Inamullah
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)
41 views2 pages

Experiment No.2 L T U Matlab: Aplace Ransform Sing 2.1 Objective 2.2 Laplace Transform Using MATLAB

This document discusses using MATLAB to compute Laplace transforms and inverse Laplace transforms. It shows how to use the laplace and ilaplace commands to find the Laplace transform of t, equal to 1/s^2, and the inverse Laplace transform of (s-5)/(s(s+2)^2), equal to -5/4+7/2t*exp(-2t)+5/4*exp(-2t). It then provides examples of finding the Laplace and inverse Laplace transforms of various functions.

Uploaded by

Inamullah
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/ 2

Experiment No.

2 LAPLACE TRANSFORM USING MATLAB


2.1 Objective
To understand the Laplace transform and its implementation using MATLAB.
2.2 Laplace Transform Using MATLAB
You can compute Laplace transform using the symbolic toolbox of MATLAB. If you want to compute
the Laplace transform of 𝑥(𝑡)=𝑡, you can use the following MATLAB program.
>>syms f t >> f=t; >>laplace(f) ans =1/s^2 where f and t are the symbolic variables, f the function, t
the time variable.
2.3 Inverse Laplace Transform Using MATLAB
The command one uses to comput the inverse laplaceis ‘ilaplace’.One also needs to define the symbols
t and s. Lets calculate the inverse of the previous function F(s), 𝐹(𝑠)=(𝑠−5)𝑠(𝑠+2)2
>>syms t s
>> F=(s-5)/(s*(s+2)^2);
>>ilaplace(F)
ans =
-5/4+(7/2*t+5/4)*exp(-2*t)
>> simplify(ans)
ans =
-5/4+7/2*t*exp(-2*t)+5/4*exp(-2*t)
>> pretty(ans)
- 5/4 + 7/2 t exp(-2 t) + 5/4 exp(-2 t)
Which corresponds to f(t) 𝑓(𝑡)=−1.25+3.5𝑡𝑒−2𝑡+1.25𝑒−2𝑡
Alternatively one can write
>>ilaplace ((s-5)/(s*(s+2)^2))
2.4 Lab Tasks
Question 1
Find the Laplace Transform of following functions
1. 𝑔(𝑡)=5𝑡𝑒−5𝑡𝑢𝑠(𝑡)
Lab Manual Control Systems
Department of Electrical and Computer Engineering Page 16
2. 𝑔(𝑡)=(𝑡sin2𝑡+𝑒−2𝑡)𝑢𝑠(𝑡)
3. 𝑔(𝑡)=sin2𝑡cos2𝑡𝑢𝑠(𝑡)
4. 𝑔(𝑡)=5𝑒−2𝑡
5. 𝑔(𝑡)=0.0075−0.00034𝑒−2.5𝑡cos22𝑡+0.087𝑒−2.5𝑡sin22𝑡−0.0072𝑒−8𝑡
Question 2
Find the Inverse Laplace Transform of following transfer functions
1. 𝐺(𝑠)=1𝑠(𝑠+2)(𝑠+3)
2. 𝐺(𝑠)=10(𝑠+1)2(𝑠+3)
3. 𝐺(𝑠)=2(𝑠+1)𝑠(𝑠2+𝑠+2)
4. 𝐺(𝑠)=10(𝑠+2)𝑠(𝑠2+2𝑠+5)
5. 𝐺(𝑠)=2(𝑠+3)(𝑠+5)(𝑠+7)𝑠(𝑠+8)(𝑠2+10𝑠+100)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy