'erfi' not found in my MATLAB while it is in the MathWorks
1 回表示 (過去 30 日間)
古いコメントを表示
I tried to use erfi in my user-defined function, but there showed an error:
"Undefined function 'erfi' for input arguments of type 'double'.
I searched for erfi by 'help erfi', then it gives
"erfi not found. Showing help for erf instead ..."
However, I can find erfi on the MathWorks. The url is https://www.mathworks.com/help/symbolic/sym.erfi.html
and on the version history it is said to be "introduced on R2013a". My MATLAB version is R2021a.
I do not have the Symbolic Math Toolbox so I cannot compute it by integral either.
Please tell me if I can activate this should-be-embedded function.
0 件のコメント
回答 (1 件)
John D'Errico
2023 年 2 月 17 日
編集済み: John D'Errico
2023 年 2 月 17 日
which erfi -all
erfi is part of the symbolic toolbox.
It is NOT part of MATLAB proper. If you don't have the symbolic toolbox, then you don't have erfi. If you need it, then you need that toolbox.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Mathematical Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!