Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
exponential terms in simulink

Subject: exponential terms in simulink

From: Matti Kleemola

Date: 22 Apr, 2004 12:33:43

Message: 1 of 3

How can I make an Fcn() that is

G(s) = exp(-0.7s) / s^2 + 0.8s + 0.5 ?

It's easy to write a denominator but I don't now what to do with numerator.
I couldn't find answer from Matlab help.

Should I use Transport delay and function H(s) = 1 / s^2 + 0.8s + 0.5 or
what?

--
Replytessä poista ISOT KIRJAIMET ja 'nland' osoitteestani

Subject: exponential terms in simulink

From: G.Konstantas

Date: 22 Apr, 2004 14:36:12

Message: 2 of 3

have you tried MATLAB FCN block?
It is in Simulink --> User-Defined Functions.
You just double-click the block and enter the function you wrote using u
instead of s.
You must enter the following
                        exp(-0.7*u)/u^2+0.8*u+0.5
I checked it and works fine


"Matti Kleemola" <mattiNO.SPAMkleemola@hut.finland> wrote in message
news:slrnc8f4bn.lb1.mattiNO.SPAMkleemola@akvavitix.hut.fi...
> How can I make an Fcn() that is
>
> G(s) = exp(-0.7s) / s^2 + 0.8s + 0.5 ?
>
> It's easy to write a denominator but I don't now what to do with
numerator.
> I couldn't find answer from Matlab help.
>
> Should I use Transport delay and function H(s) = 1 / s^2 + 0.8s + 0.5 or
> what?
>
> --
> Replytessä poista ISOT KIRJAIMET ja 'nland' osoitteestani

Subject: exponential terms in simulink

From: Laurens Schalekamp

Date: 22 Apr, 2004 12:09:52

Message: 3 of 3

It lools like you are trying to apply a delay in a transfer function block.
You could accomplish this with TF block followed with a Transport Delay
block. The TF block would have

num = 1
den = [1 .8 .5]

Then follow with Transport Delay Block with delay of 0.7

Laurens Schalekamp
The MathWorks, Inc.

"Matti Kleemola" <mattiNO.SPAMkleemola@hut.finland> wrote in message
news:slrnc8f4bn.lb1.mattiNO.SPAMkleemola@akvavitix.hut.fi...
> How can I make an Fcn() that is
>
> G(s) = exp(-0.7s) / s^2 + 0.8s + 0.5 ?
>
> It's easy to write a denominator but I don't now what to do with
numerator.
> I couldn't find answer from Matlab help.
>
> Should I use Transport delay and function H(s) = 1 / s^2 + 0.8s + 0.5 or
> what?
>
> --
> Replytessä poista ISOT KIRJAIMET ja 'nland' osoitteestani

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us