Forced step response of a signal
17 次查看(过去 30 天)
显示 更早的评论
I'm pretty new to matlab and I'm having a hard time understanding how the signals &systems part works. All I have to do is find the step response of a system, both a "normal" response and a "forced " response, while having initial conditions. I searched this forum and I couldn't really find something similar. Maybe because it's an easy one but I don't know.
I tried using 'step' but I didn't know how to use the initial conditions with it. Also, I found out 'initial' and I tried using it but it didn't really work out either.
0 个评论
采纳的回答
Aquatris
2018-11-7
I recommend you look into lsim() function, which is a lot more flexible than the step() or impulse() functions, and would be useful for the future as well.
更多回答(1 个)
M
2018-11-7
You can set the initial values of the step using stepDataOptions: https://mathworks.com/help/control/ref/stepdataoptions.html
What was the problem with initial ?
0 个评论
另请参阅
类别
在 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!