Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to get transfer H(s) function out of impulse response

Status
Not open for further replies.

noel_t

Junior Member level 3
Junior Member level 3
Joined
May 31, 2011
Messages
30
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,592
The impulse response h(t) for a particular LTI system is shown below.

h(t) = [3e-3t + 5 e-2t + e-t (4 cos(3t)+ 6 sin(3t)) + e-4t] . u(t)

a) Plot the impulse response for h(t.)
b) Determine the transfer function H(s). Determine the locations of the poles and zeros of H(s) and plot them in the s-plane (‘x’ for poles, ‘o’ for zeros).
c) Plot the magnitude spectrum and phase spectrum of the transfer function.
d) Finally compare your results obtained with the MATLAB simulation.


-----------------------------------------------
I need your help to give me guideline on how i can get the transfer function out of the given impulse response.
 

H(s) = L{h(t)}, where L{} is the Laplace transform.
 
  • Like
Reactions: noel_t

    noel_t

    Points: 2
    Helpful Answer Positive Rating
I am having problem with defining the h(t) into matlab to plot the sequence.This is the code i am using.

y=((3*exp^(-3*t))+(5*exp^(-2*t))+(exp^-t)((4*cos(3*t))+(6*sin(3*t))+(exp^(-4*t))));

I am trying my best to use enough parentheses to prevent conflict. but i get this error.
>> y=((3*exp^-3*t)+(5*exp^-2*t)+e^-t((4*cos3*t)+(6*sin3*t)+(exp^-4*t)))
??? Error using ==> exp
Not enough input arguments.

Do you have any idea on how to best define t in here?
 

Code:
y=((3*exp^-3*t)+(5*exp^-2*t)+e^-t((4*cos3*t)+(6*sin3*t)+(exp^-4*t)))
If this is your Matlab expression, I don't doubt that you get errors. Learn first about the required Matlab syntax for exponential or sine function!
 

Yea every thing is correct. but still getting this error :( i also checked yours

??? Error using ==> exp
Not enough input arguments.

even for this i also get the same error.........
y=(3*exp^(-3*t)) or y=(3*exp^-3*t)
 

In the Matlab documents I know, the required syntax is Y = exp(X) rather than exp^X
 
  • Like
Reactions: noel_t

    noel_t

    Points: 2
    Helpful Answer Positive Rating
>> y=((3*exp(-3*t))+(5*exp(-2*t))+(exp(-t)*((4*cos(3*t))+(6*sin(3*t))+(exp(-4*t)))))
??? Error using ==> mtimes
Inner matrix dimensions must agree.
 

Try this:

Code:
t=[0:0.1:10];
y= 3*exp(-3*t) + 5*exp(-2*t) + exp(-t).*(4*cos(3*t) + 6*sin(3*t)) + exp(-4*t);
plot(t, y);

However I think You should read something about Matlab.
 
  • Like
Reactions: noel_t

    noel_t

    Points: 2
    Helpful Answer Positive Rating
I already found the Laplace of the the impulse response to get the transfer function as H(s) = L{h(t)}, where L{} is the Laplace transform.

Now in order to get the magnitude response and phase response, should i first take inverse laplace to get H(t) or directly can found from the S domain?
 

Now in order to get the magnitude response and phase response, should i first take inverse laplace to get H(t) or directly can found from the S domain?
If ROC of H(s) contains jw axis You can apply the substitution s = jw to get H(jw).
 
  • Like
Reactions: noel_t

    noel_t

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top