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.

Matlab problem(need help..........thank you)

Status
Not open for further replies.

tycheng

Junior Member level 3
Junior Member level 3
Joined
Apr 17, 2007
Messages
31
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,425
Hi ! guys,

Somebody could tell me how to wite a matlab(or simulink) Laplace transform eq.

(1-exp(-st))/s...........

Thank you for your help!
 

Try This Code:


syms s t y
y=laplace((1-exp(-s*t))/s);
ezplot(y)


I tried it and it worked nicely also if you can please PM me if the output was what you anticipated or not
 

Hi
can anyone help me out with simulink ?

i need an ALAMOUTI SPACE TIME BLOCK in SIMULINK

or can any one tell me how to make a user defined code block in simulink

thanx i need help urgently

tc
 

But the "S" in the equation (1-exp(-S*td))/S is already a laplace transform symbol(just like laplace(u(t))=1/S ). Where td is a constant.

But I will thank you any way.
 

tycheng said:
But the "S" in the equation (1-exp(-S*td))/S is already a laplace transform symbol(just like laplace(u(t))=1/S ). Where td is a constant.

But I will thank you any way.

Then Either use the same code and change the function laplace to ilaplace to get the inverse laplace transform and draw the signal in the time domain

or perform the laplace function over the original signal in the time domain and ezplot the result

;)
 

    tycheng

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top