필터 지우기
필터 지우기

A problem related to symbolic function.

조회 수: 2 (최근 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')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by