How can i implement the equation in SIMULINK MODEL??
Mostrar comentarios más antiguos
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.
Respuestas (2)
Ameer Hamza
el 17 de Mzo. de 2020
0 votos
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 comentarios
Dileepa B S
el 17 de Mzo. de 2020
Ameer Hamza
el 17 de Mzo. de 2020
Please check the attached file exported for R2019a.
Dileepa B S
el 17 de Mzo. de 2020
Ameer Hamza
el 18 de Mzo. de 2020
Glad to be of help.
Siamak Lotfi
el 10 de Sept. de 2021
0 votos
thanks
Comunidades de usuarios
Más respuestas en Power Electronics Control
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!