Filter löschen
Filter löschen

check a variable is a symbolic or a double

29 Ansichten (letzte 30 Tage)
mim
mim am 14 Okt. 2012
is there a function to check a variable is a symbolic or a double?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 14 Okt. 2012
Bearbeitet: Azzi Abdelmalek am 14 Okt. 2012
syms a
b=10
class(a)
class(b)

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 15 Okt. 2012
Use isnumeric() or isa()

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by