Simulink integrator block initial conditions
3 次查看(过去 30 天)
显示 更早的评论
Hi, How does one specify initial conditions in simulink integrator block for times not t= 0 for example, y(3) =5;
0 个评论
采纳的回答
Fangjun Jiang
2019-2-5
utilize the "External reset" (set as rising) and "Initial ocndition source" (set as external).
Compare clock with t=3 and make it as the "External reset" signal.
4 个评论
Fangjun Jiang
2021-4-23
Compare Clock with Constant block (value is 3) using the Relational Operator block, the output is trur or false.
Wang Tao
2021-4-24
Thanks for the prompt reply! I can get the answer for the time after t=3 with the y(3)=5 now. But the problem is for the time earilier than 3 as t<3, is not correct.
I am handling some two point boundary value problem, which y(3)=5 is the end/ final condition. Is there any way to solve this.
It seems can change the initial setting of integrator through properties, but there are no final condition settings.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/595160/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/595165/image.jpeg)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!