Convert numeric values to ASCII code

11 vues (au cours des 30 derniers jours)
Gombo Khorloo
Gombo Khorloo le 17 Oct 2017
Commenté : Star Strider le 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

Réponse acceptée

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

Plus de réponses (1)

Gombo Khorloo
Gombo Khorloo le 17 Oct 2017
Thanks for the help. :))
  1 commentaire
Star Strider
Star Strider le 17 Oct 2017
As always, my pleasure!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by