Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
Internet of Things Assessment Repository
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
charlotte.kerr
Internet of Things Assessment Repository
Commits
e67a9304
Commit
e67a9304
authored
Jan 23, 2023
by
charlotte.kerr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MATLAB Visualisation Code - 7 days' data
parent
ec9225a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
Visualisation_-_7_days.txt
ThingSpeak Applications Code/Visualisation_-_7_days.txt
+18
-0
No files found.
ThingSpeak Applications Code/Visualisation_-_7_days.txt
0 → 100644
View file @
e67a9304
readChannelID = 2010296;
fieldID1 = 1;
readAPIKey = 'PVDUGZMNB4DZIJOT';
%% Read Data %%
[data, time] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumDays', 7, 'ReadKey', readAPIKey);
%% Visualize Data %%
bar(time, data);
title('Motion Activity In Past Week');
subtitle('Recorded backwards from point of last data injection')'
xlabel('Time');
ylabel('Motion Status');
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment