%% Task 3 - PLOT
figure(1)subplot(2, 2, 1)plot(avgCO2, Time2);subplot(2, 2, 2)plot(avgTA, Time1);subplot(2, 2, 3)bar(prct_inc, Time2);subplot(2, 2, 4)plot(avgTA, avgCO2)
Error using bar (line 182)
XData values must be unique.
Error (line 52)
bar(prct_inc, Time2);
How do I fix this?
Best Answer