Azzera filtri
Azzera filtri

check a variable is a symbolic or a double

29 visualizzazioni (ultimi 30 giorni)
is there a function to check a variable is a symbolic or a double?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 14 Ott 2012
Modificato: Azzi Abdelmalek il 14 Ott 2012
syms a
b=10
class(a)
class(b)

Più risposte (1)

Walter Roberson
Walter Roberson il 15 Ott 2012
Use isnumeric() or isa()

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by