Convert numeric values to ASCII code

11 Ansichten (letzte 30 Tage)
Gombo Khorloo
Gombo Khorloo am 17 Okt. 2017
Kommentiert: Star Strider am 17 Okt. 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

Akzeptierte Antwort

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

Weitere Antworten (1)

Gombo Khorloo
Gombo Khorloo am 17 Okt. 2017
Thanks for the help. :))

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by