MATLAB: Plotting graph using table data

graphtable

I want to plot a graph T2 (y-axis) against time(x-axis). what code should I use?

Best Answer

a=readmatrix('energy lab Exp 1.xlsx');
plot(a(:,1),a(:,2));