フィルターのクリア

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 Center および File ExchangeConversion 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