フィルターのクリア

How to put "error function, erf(x)" in simulink

8 ビュー (過去 30 日間)
Raghav Moyade
Raghav Moyade 2016 年 3 月 5 日
回答済み: Ugur Keskin 2017 年 9 月 19 日
How to put "error function, erf(x)" in simulink for processing an input signal. I tried to formulate in "matlab functions block" but was getting error.

回答 (1 件)

Ugur Keskin
Ugur Keskin 2017 年 9 月 19 日
This can be done with the block 'Matlab function' which can also be found in the 'User-Defined functions' library of Simulink.
Just insert the following in the m-funtion:
function y = fcn(u)
y = erf(u);
y will be the error function of u.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by