Effacer les filtres
Effacer les filtres

How can i see if a unit8 var exist or not?

2 vues (au cours des 30 derniers jours)
federica pasquali
federica pasquali le 10 Août 2018
Réponse apportée : KSSV le 10 Août 2018
Dear all, I have to check if a unit8 variabile type exist or not , do you know how can i do? thanks,

Réponse acceptée

KSSV
KSSV le 10 Août 2018
doc isa
A = rand(3,1) ;
A = uint8(A) ;
if isa(A,'uint8')
fprintf('A is uint8\n')
else
fprintf('A is not uint8\n')
end

Plus de réponses (0)

Catégories

En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by