MATLAB: Plot Excel data in Matlab (problem with date and time)

MATLAB: Plot Excel data in Matlab (problem with date and time)

excel

Hi, i’m new in Matlab. I have to plot the values in the right column in function of the date/time in the left one. My problem is that I have to make the median of the values in the right column for every hour and then I have to plot this median value in function of his correspondent hour, but I don’t know how to do this!

Best Answer

  • As you are new to MATLAB you probably have a recent MATLAB version. You should consider using “timetables” such as with the retime() function.
    However, you appear to have a lot of missing data, and it is not clear what it means.
  • Add a Comment

    Your email address will not be published. Required fields are marked *