MATLAB Answers

Please advice how to convert date array to seconds format

38 views (last 30 days)
NN
NN on 18 Jan 2021
Commented: NN on 19 Jan 2021
here by attaching date formats and their respective code, kindly advice how can i convert it to seconds form as attached..
Data=readtable('axeaload.xlsx');
testdates = Data{1:end,1};
date_num = datenum(testdates);

  14 Comments

NN
NN on 19 Jan 2021
I request you to look into the below query as well.
When i import time series data from matlab to simulink,it appears as individual data not as corresponding to time.(image attached).
i used the below format for below workspace
[time Youtput]
time and Youtput are 1*360 double format
NN
NN on 19 Jan 2021
this has been posted here :
https://www.mathworks.com/matlabcentral/answers/720499-importing-data-rom-matlab-to-simulink

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!