Azzera filtri
Azzera filtri

How to simulate Laplace system with arbitrary input, while being able to change the input coresponding to the output?

1 visualizzazione (ultimi 30 giorni)
Dear MATLAB community,
I have a SISO Laplace transform plant, with input u, output y. I am trying to control the plant using machine learning algorithm. My goal is to get the feed the machine learning agent with output y, and the machine learning agent will provide suitable u.
How can I simulate this using MATLAB function? I tried
[y, t] = lsim(sys,u,t),
Where sys is my Laplace transfer function plant. However, I cannot control input u with response to output y using lsim.
Is there a method to simulate Laplace plant sys with response to input u, while being able to read output y and adjust u accordingly in the middle of the execution?
Please help. Thank you.
Regards, Tan

Risposte (0)


Scopri di più su Matrix Computations in Help Center e File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by