Convert numeric values to ASCII code

12 visualizaciones (últimos 30 días)
Gombo Khorloo
Gombo Khorloo el 17 de Oct. de 2017
Comentada: Star Strider el 17 de Oct. de 2017
I want to convert numeric values of time and amplitude to ASCII code.
I tried many functions but i haven't got success so far.
Example:
t=2.5
t=50 46 53

Respuesta aceptada

Star Strider
Star Strider el 17 de Oct. de 2017
Try this:
t = 2.5;
Out = int64(num2str(t))
Out1 =
1×3 int64 row vector
50 46 53

Más respuestas (1)

Gombo Khorloo
Gombo Khorloo el 17 de Oct. de 2017
Thanks for the help. :))

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by