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

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2012-11-14

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by