Simulink: integration with mixed variables in function argument

I would like to implement in Simulink the following dynamic system.
System equation:
Functions and are known functions of the following form:
is the input signal and it has the following form:
for and for the other time instants.
are known constants.
I have implemented the system as in the following picture. I run it through a MATLAB code where I generate timeseries for u, h and g.
Capture.PNG
The results that I get are different from the reference I have. I think that I am not carrying out the integration correctly. More in particular I guess that function h and function g should not be timeseries, but some other kind of functions. However I do not know what to use in order to represent the two integrations and correctly.

답변 (0개)

이 질문은 마감되었습니다.

제품

릴리스

R2019a

질문:

fma
2019년 6월 24일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by