How to set rate limit?

Can somebody please help me I am trying to set a maximum rate limit of an input of aileron deflection to 0.1 radians per second in MATLAB. I can't find how to do this

Antworten (1)

Sean de Wolski
Sean de Wolski am 7 Mär. 2013

0 Stimmen

You can use min() to saturate:
rate = min(rate,0.1)

1 Kommentar

Andrew
Andrew am 7 Mär. 2013
Thankyou for your answer....I have this line of code:
daileron = min(25/180*pi,0.1) %25 degree deflection
this is not giving me the desired response in what context do I use this function?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 7 Mär. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by