在S函数中如何实现对输入信号的微分 。

由于在仿真之初,被微分信号初值是零,采用S函数可以给初始值,所以想用S函数实现。S函数的微分子函数,微分对象是输出。希望得到指点

 Accepted Answer

tajer
tajer on 26 Nov 2022

0 votes

如果Simulink基本模块不能满足你的需求,你可以自己写S函数的方法来实现。你可以在matlab命令窗口输入sfundemos来察看自带的例子,并且提供了S函数的模板,你可以在模板的基础上来写的S函数。

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Asked:

on 26 Nov 2022

Answered:

on 26 Nov 2022

Community Treasure Hunt

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

Start Hunting!