Convert numeric values to ASCII code

12 ビュー (過去 30 日間)
Gombo Khorloo
Gombo Khorloo 2017 年 10 月 17 日
コメント済み: Star Strider 2017 年 10 月 17 日
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

採用された回答

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

その他の回答 (1 件)

Gombo Khorloo
Gombo Khorloo 2017 年 10 月 17 日
Thanks for the help. :))
  1 件のコメント
Star Strider
Star Strider 2017 年 10 月 17 日
As always, my pleasure!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by