# How to plot Date time series in MATLAB?

I am facing difficulties in plotting my time series data. I write code like this but doesnt work.

`data3=readtable ('PRICE_AND_DEMAND_Jan.csv')Date_Time = data3(:,2);datecell=table2cell(Date_Time);load = data3(:,3);A = table2array(load)p=datenum(datecell);plot(datenum(datecell), A)datetick('x', 'dd-mmm-yyyy HH:MM:SS')% datetick('x', 'dd-mmm-yyyy HH:MM:SS')`

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

try it:

`data3=readtable ('PRICE_AND_DEMAND_Jan.csv')Date_Time = data3(:,2);datecell=table2cell(Date_Time);load = data3(:,3);A = table2array(load)`

https://www.matlabsolutions.com/resources/how-to-plot-date-time-series-in-matlab-.php

## More from Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.