pid controller (m-file ) with input data and output data
4 views (last 30 days)
Show older comments
mohammed hussein
on 5 Mar 2022
Commented: Star Strider
on 5 Mar 2022
Hi
I have data input should inter to PID controller without feedback. only data into PID and get the results data out. I would like to make code in m-file represent this way (data input to PID and get out data)
thank you very much for helping
0 Comments
Accepted Answer
Star Strider
on 5 Mar 2022
2 Comments
Star Strider
on 5 Mar 2022
I have no idea what any of that refers to.
See the documentation I linked to in order to understand how to use lsim to get output from a specific input. Create a time vector and a corresponding input vector (or array) and then use lsim to get the system output from those inputs.
More Answers (0)
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!