Integration doubt in SIMULINK.

조회 수: 1 (최근 30일)
Ferran Solà
Ferran Solà 2017년 7월 27일
답변: Saurabh Gupta 2017년 7월 31일
In my Simulink model I have an integral which is int(P dV) where V is a function V(t). My question is how can I model this?

답변 (1개)

Saurabh Gupta
Saurabh Gupta 2017년 7월 31일
Simulink Engine is designed to work with Signals which functions of time and the available Integrator blocks calculate integrals with respect to time. So, if you are planning to use this integration operation on a signal, I'm afraid you'll have to perform some calculus to convert the equation as an integral with respect to time.
If however, this integration is just an operation used in your model and the quantity 'P' is not an input signal, you could use 'MATLAB Function Block' to calculate the integral in MATLAB code and use the result in your Simulink model.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by