フィルターのクリア

concatenating 3x1 array

2 ビュー (過去 30 日間)
Muhammad Haziq
Muhammad Haziq 2019 年 3 月 2 日
回答済み: Stephan 2019 年 3 月 2 日
I have value like this
18.000000
11.000000
5.635000
I want it to concatenate like this
18:11:5.635
how can I do this can any body guide me.
  2 件のコメント
madhan ravi
madhan ravi 2019 年 3 月 2 日
You forgot to mention the necessary details (datetime?)
Muhammad Haziq
Muhammad Haziq 2019 年 3 月 2 日
18.00 is the hour, 11 is the minute, 5.635 is the seconds

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

採用された回答

Stephan
Stephan 2019 年 3 月 2 日
Hi,
try:
result = datetime([0 0 0 18 11 5.635], 'Format', 'HH:mm:ss.SSS')
Best regards
Stephan

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by