Convert numeric values to ASCII code
12 views (last 30 days)
Show older comments
Gombo Khorloo
on 17 Oct 2017
Commented: Star Strider
on 17 Oct 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
0 Comments
Accepted Answer
Star Strider
on 17 Oct 2017
Try this:
t = 2.5;
Out = int64(num2str(t))
Out1 =
1×3 int64 row vector
50 46 53
0 Comments
More Answers (1)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!