Edit msfcndemo_limintm.mdl for definite integral respect to any function not equal to time

1 回表示 (過去 30 日間)
cyberdyne
cyberdyne 2011 年 2 月 28 日
Hi,
I don't know C-language but i ask how i can edit (if it's possible) S-function code in msfcndemo_limintm.mdl integrator block, to output a definite integral of an input function f(x) with integration bounds (low and high) as input and respect to any x-function as input not necessarily equal to time.

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2011 年 2 月 28 日
Block derivatives in Simulink are computed w.r.t time, so it is not possible to utilize the Simulink solver to integrate w.r.t. an arbitrary variable.

カテゴリ

Help Center および File ExchangeManual Performance Optimization についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by