Definite Integrals in Simulink with a = last time step, b = current time step
3 次查看(过去 30 天)
显示 更早的评论
I need to put this equation in my Simulink model:
A = B*(tn-tn1) where tn = current time, and tn-1 = last time step.
I think it would be easy if the time step was known and constant, but if I wanted to use variable time step, I am not sure how I would do this in Simulink. Would I need to do some sort of a definite integral using a = last time step, and b = current time step?
I would think that there is a much easier way.
Thanks in advance!
Vicky
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!