A problem related to symbolic function.

1 回表示 (過去 30 日間)
Angus Wong
Angus Wong 2019 年 7 月 2 日
コメント済み: Angus Wong 2019 年 7 月 2 日
I know that if a want to check if a variable is a function handle, then I can use isa(fun,'function_handle').
What should I type in the 2nd input on the isa function to determine if a variable is a symbolic function? I mean I want the output to be 1 if the variable is a symbolic function, and 0 if it isn't. I am expecting something like: isa(fun,'symbolic_function'). (However, it does not work on my computer.)
* fun is the name of the variable to be determined.

採用された回答

Alex Mcaulley
Alex Mcaulley 2019 年 7 月 2 日
編集済み: Alex Mcaulley 2019 年 7 月 2 日
Try this:
isa(fun,'symfun')
  1 件のコメント
Angus Wong
Angus Wong 2019 年 7 月 2 日
Thanks a lot!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by