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

답변 (1개)

Sean de Wolski
Sean de Wolski 2013년 3월 7일

0 개 추천

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

댓글 수: 1

Andrew
Andrew 2013년 3월 7일
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?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

태그

질문:

2013년 3월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by