I need to combine data provided as a six different cell array in one cell

1 回表示 (過去 30 日間)
Lia Kirtadze
Lia Kirtadze 2022 年 1 月 14 日
コメント済み: Lia Kirtadze 2022 年 1 月 17 日
I have data in a table and I need to combine first six rows in one cell row and then format it as a time (Year, Month, Day Hour, Minute, Second)
please advice me how to accomplish this task
thank you in advance

回答 (1 件)

Max Heimann
Max Heimann 2022 年 1 月 14 日
You could try
datestr(datenum(combined_in_one_file(:,1:6)))
  1 件のコメント
Lia Kirtadze
Lia Kirtadze 2022 年 1 月 17 日
thank you very much
this code works but, I still have one problem
My aim is to make plot where time will be on the x axis but after aplying your code I get string chart which I am not able to open and it is located in workspace
I am interested in how to connect this date firmat with outher values in the chart provided above on the picture?
And how to make plot by using of this date format because as I see it is not possible right now.

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

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by