How can i implement the equation in SIMULINK MODEL??

조회 수: 3 (최근 30일)
Dileepa B S
Dileepa B S 2020년 3월 17일
답변: Siamak Lotfi 2021년 9월 10일
Hai all,
I am trying to implement First order Filter whose output is out(k) = out(k-1)+((in(k)-(out(k-1))*gain .
I have input in(k) and gain I need to find out(k) for every 5 milli-seconds. I am new to MATLAB Simulink. please help me out to solve this.

답변 (2개)

Ameer Hamza
Ameer Hamza 2020년 3월 17일
The attached model shows you how to implement such an equation in MATLAB. Also, press the "FixedTimeDiscrete" at the bottom right of the Simulink window to open solver properties to see how to set the time step to be 5 milliseconds.
  댓글 수: 4
Dileepa B S
Dileepa B S 2020년 3월 17일
Thank you for your support. i will try to analyze your model and then i will go with my equation implementation.
Ameer Hamza
Ameer Hamza 2020년 3월 18일
Glad to be of help.

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


Siamak Lotfi
Siamak Lotfi 2021년 9월 10일
thanks

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by