How can i plot time series data from CSV

5 views (last 30 days)
I have a set of time seris data (attachment). how can I plot it in Matlab?

Accepted Answer

Star Strider
Star Strider on 1 Jun 2016
This works:
[d,s,r] = xlsread('temp.csv');
t = d(:,1);
v = d(:,2);
figure(1)
plot(t, v);
grid
xlabel('Time')
ylabel('Value')
  4 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!