how can i change data type of any variable
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
how can i change data type of any variable. i am using R2012a matlab. because by default its taking every value as a decimal.
1 comentario
Respuestas (1)
Jan
el 29 de Mzo. de 2017
The default type used by Matlab is double (not "decimal"). You cannot change the default type, but you can easily specify a different type for a variable:
a = uint8(17)
But with
b = 17
the type of b is double.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with MATLAB 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!