Maybe try in Simulink, using the Signal builder block you can create Input as you want.
Step response due to input changes
4 次查看(过去 30 天)
显示 更早的评论
I would like to use the Matlab control systems library to compare an experimentally derived transfer function model for a practical system. The experimental step response is shown below:
The system takes a duty cycle percentage as input and has RPM of a motor as output. In the plot above the two jumps in the response are to an input of 10 and 20 respectively. I have obtained the transfer function experimentally and managed to plot the response to an input of 10 in Matlab as shown below:
What I would like to do is to create a similar plot in matlab to my experimental plot so I can compare how close the model approximates the realization. How can I use step() to input 10 initially and then to step to 20 after about 6 seconds.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!