How to get daily average output for a week
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I have coded the average daily output load demand of an EV for one day. I got the graph of load demand for whole 1440 minutes(i.e. one whole day). However, I am trying to use this code in aother loop to get an output load demand for a week.
I am unable to get any output yet. Was wondering if anyone can help me out here.
Thanks in advance.
Afnan Rahman
3 Kommentare
jonas
am 27 Jul. 2020
Cannot test the code atm, but here is an idea.
If the loop works for several days, then you can just concatenate the output at the end of the second loop (where you plot). I would either append or save results for separate days in a cell array. To save as cell array
Results_all{day} = power_Mw_b
Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!