I wanna get the shaded area from the data that i've just conducted from my experiment in CSV file (Excel)
This is my code
figuret=Time;p = plot(t,ActivePowerANAvg)title('Active Power (Box1)');legend({'EV Charger'},'Location','northeast');xlabel('Duration (h)') ;ylabel('P (W)') ;Integral = trapz(t,ActivePowerANAvg)
and the result that's shown in Command Window is
Integral =
duration
15648:04:10
Pls help me correct it.Thanks for all of you guys in advance.
Best Answer