How to plot data T(3023x1 table) and I(3023x1 table)?

I have data T(3023x1 table) for x axis and I(3023x1 table) for y axis.
the data i get from excel
How to plot the T and I variable to get graph?
I'm using this code and showing
Error using tabular/plot
Too many input arguments.
Error in final (line 4)
plot(t,i)
t = readtable('matlabdata.xlsx','Range','M5:M3028');
i = readtable('matlabdata.xlsx','Range','N5:N3028');
plot(t,i)

Answers (1)

plot(t.1,i.1)

3 Comments

Still error. showing this
Invalid expression. Check for missing multiplication operator, missing or unbalanced
delimiters, or other syntax error. To construct matrices, use brackets instead of
parentheses.
t = table2cell(t) ;
i = table2cell(i) ;
plot(t,i) ;
YOu can access your table with T.var or T.1, T.2 etc. Read about table.
still showing this.
Error using plot
Not enough input arguments.
Error in final (line 6)
plot(t,i) ;

Sign in to comment.

Categories

Asked:

on 6 Jan 2020

Commented:

on 6 Jan 2020

Community Treasure Hunt

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

Start Hunting!