• Support PF! Buy your school textbooks, materials and every day products Here!

Laplace transforms

  • Thread starter zhaniko93
  • Start date
  • #1
13
0

Homework Statement



I'm given the transfer function of LTI system is [itex]\frac{1}{s^2 + 4}[/itex]

Homework Equations



H(s) = [itex]\frac{Y(s)}{X(s)}[/itex]

The Attempt at a Solution



first of all I had to find diff. equations of the system. I found that it's y'' + 4*y = x;
Then they asked to find such initial conditions that if I applied unit impulse at input, I got y=0 for time t>=0; I took Laplace transform of diff. equation with initial conditions and got that s^2Y - sY(0) - Y'(0) + 4Y = 1; I want y=0, so Y=0 and 1+sY(0) + Y'(0) = 0; I'm wrong in something....
 

Answers and Replies

  • #2
13
0
Matlab

Code:
syms y(t) x(t) a t
Dy = diff(y);
A = dsolve(diff(y, 2) + 4*y == dirac(t), y(0) == 0, Dy(0) == -1);
ezplot(A, [0 10])

pretty(laplace(A))
I get something slightly different in matlab
 
  • #3
818
67
  • #4
13
0
Thanks milesyoung, it helped!
 
  • #5
rude man
Homework Helper
Insights Author
Gold Member
7,600
703
You should use y for the time functions and Y for the transformed variables.

You are right in saying y(0+) = 0 but what about y'(0+)?
 
  • #6
818
67
You are right in saying y(0+) = 0 but what about y'(0+)?
He/she wrote the correct initial conditions in the code segment.
 

Related Threads for: Laplace transforms

  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
10
Views
654
  • Last Post
Replies
8
Views
1K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
23
Views
4K
  • Last Post
Replies
12
Views
2K
  • Last Post
Replies
17
Views
2K
  • Last Post
Replies
4
Views
2K
Top