% Enter your MATLAB code below
readChId = 322698;
readKey = '548GQEP6OLOSFZIR';
writeChId = 334199;
writeKey = 'ERGWRT0AC8YB5B9Z';
[temp,timeStamps] = thingSpeakRead(readChId,'fields',,...
'ylabel','Avg Temp','title','Average temperature',...
Above is my current code. I am doing a school project on machine monitoring and i need to calculate the average temperature of every 4 data inputted from the sensor i have(bosch xdk 110). Then find out what's the average working temp, so when there is anomaly in the temperature, the predictive algorithm can hopefully display it and send an alert to the user(thingtweet or twillio)
Please help me out with how i can make this current code find the average of every 4 data inputted and also how to write the predictive algorithm code as i've seen multiple codes but i don't understand it.
Most Users Ever Online: 114
Currently Online: jacktheripper125, pudderz
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee