Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
federica pasquali
federica pasquali el 10 de Ag. de 2018
Respondida: KSSV el 10 de Ag. de 2018
Dear all, I have to check if a unit8 variabile type exist or not , do you know how can i do? thanks,

Respuesta aceptada

KSSV
KSSV el 10 de Ag. de 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

Más respuestas (0)

Categorías

Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by