필터 지우기
필터 지우기

check a variable is a symbolic or a double

조회 수: 29 (최근 30일)
mim
mim 2012년 10월 14일
is there a function to check a variable is a symbolic or a double?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 10월 14일
편집: Azzi Abdelmalek 2012년 10월 14일
syms a
b=10
class(a)
class(b)

추가 답변 (1개)

Walter Roberson
Walter Roberson 2012년 10월 15일
Use isnumeric() or isa()

카테고리

Help CenterFile Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by