Die iscomplex Funktion prüft, ob ihr Argument eine komplexe Matrix ist.
Returnwert
bool ist TRUE (1), wenn das Argument eine komplexe Matrix ist und FALSE (0), wenn das Argument von einem anderen Typ ist.
Parameter
m ist eine Matrix beliebigen Typs oder eine Funktion.
Beispiel
a = 1 + 3i
iscomplex(a)
1.0000
iscomplex(sin)
0.0000
iscomplex(1.12)
0.0000
Siehe auch
id-332019