MATLAB Programming Fundamentals - MathWorks
TT = retime(outdoors,'daily','mean'); TT TT=4×4 timetable Time Humidity TemperatureF PressureHg 2015-11-15 00:00:00 48.931 51.3 ...
15-Nov-2015 00:00:00 48.9 51.45 29.61 15-Nov-2015 06:00:00 48.9 51.45 29.6 15-Nov-2015 12:00:00 49.025 51.45 29.61 15-Nov-2015 1 ...
Combine Timetables and Synchronize Their Data You can combine timetables and synchronize their data in a variety of ways. You ca ...
11-Jan-2016 09:00:00 98.97 97.91 08-Jan-2016 09:00:00 98.55 99.88 Concatenate the timetables. You can concatenate timetables ver ...
06-Jan-2016 09:00:00 54.32 21.62 05-Jan-2016 09:00:00 54.93 22.79 04-Jan-2016 09:00:00 54.32 22.64 Concatenate opWeek1 and opOth ...
2015-11-15 04:53:11 36 80 outdoors(1:5,:) ans=5×4 timetable Time Humidity TemperatureF PressureHg ___________________ ________ _ ...
2015-11-15 00:00:24 36 80 49 51.3 29.61 2015-11-15 01:13:35 36 80 48.919 51.463 29.61 2015-11-15 01:30:24 36.23 79.77 48.9 51.5 ...
As an alternative, you can synchronize the timetables to a time vector that specifies half- hour intervals. tv = [datetime(2015, ...
2015-11-15 00:00:00 36.4 80.2 48.9 51.45 29.61 2015-11-15 06:00:00 36.4 79.8 48.9 51.45 29.6 2015-11-15 12:00:00 36.6 80.4 49.0 ...
Retime and Synchronize Timetable Variables Using Different Methods This example shows how to fill in gaps in timetable variables ...
indicators. For instance, retime fills gaps in numeric variables with NaN values, and gaps in the categorical variable with unde ...
ans = TimetableProperties with properties: Description: '' UserData: [] DimensionNames: {'Date' 'Variables'} VariableNames: {'Tm ...
04-May-2017 60 44 0.2 Hail 05-May-2017 62 45 0 None 06-May-2017 NaN NaN NaN 07-May-2017 NaN NaN NaN 08-May-2017 56 40 0 None 0 ...
04-May-2017 60 44 0.2 Hail 995 05-May-2017 62 45 0 None 1003 06-May-2017 60 43.333 0 <undefined> 1013 07-May-2017 58 41.66 ...
04-May-2017 60 44 0.2 Hail 995 05-May-2017 62 45 0 None 1003 06-May-2017 60 43.333 0 1013 07-May-2017 58 41.667 0 1018 08-May- ...
Select Timetable Data by Row Time and Variable Type A timetable is a type of table that associates a time with each row. You can ...
RowTimes: OutageTime: 1468x1 datetime Values: Min 2002-02-01 12:18 Median 2010-03-18 21:05 Max 2014-01-15 02:41 Variables: Regio ...
Max 2042-09-18 23:31 NumMissing 29 Cause: 1468x1 categorical Values: attack 294 earthquake 2 energy emergency 188 equipment faul ...
ans=5×6 timetable OutageTime Region Loss Customers RestorationTime Cause 2002-02-01 12:18 SouthWest 458.98 1.8202e+06 2002-02-0 ...
Index on Specified Times with Tolerances Specify a tolerance when indexing on times. You can use the withtol function to create ...
«
20
21
22
23
24
25
26
27
28
29
»
Free download pdf