Daniel Ubbink in MATLAB Answers
上次活动时间: 2023-8-22

I've got below timetable with daily measurements from my gas meter at home: Timestamps GasM3 ____________________ _____________ 14-Aug-2019 00:00:00 331.15 25-Aug-2019 00:00:00 332.37 26-Aug-2019 00:00:00 332.74 27-Aug-2019 00:00:00 333.97 I would like to know the daily consumption, so I tried playing with "differentiate" & "diff" to get these values in a new table. I've tried Test1 = differentiate(DailyGasDataTimeTable) which gave the following error: Error using Visualization: Differential test</a> (line 17</a>) 'differentiate' requires Curve Fitting Toolbox and Test2 = diff(DailyGasDataTimeTable) which gave the following error: Undefined function 'diff' for input arguments of type 'table'. Error in Visualization: Differential test (line 17) Unfortunately I'm stuck, please advise. Kind regards, Daniel

关于 ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.