Analyzing sensor data on ThingSpeak through the MATLAB Analysis.
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I have a few sensors which send data to the thingspeak platform and the data is being displayed correctly. I am trying to analyze this data in MATLAB to detect a pattern and if possible create an alert. Example if someone walks into a room and creates noise or vibrations within a certain frequency it can detect and create an alert. The data I am getting in MATLAB is in the form of a wave therefore setting parameters or being able to extract only data with a certain frequency and display it as an alert would be ideal. How do I approach this? Sorry, very limited programming skills.
댓글 수: 2
Star Strider
2023년 3월 8일
I’m not sure what that plot image demonstrates, however to detect frequencies in a certain range, the best option is n analogue or digital bandpass filter. These are straightforward to design and implement. Calculating the Fourier transform is not necessary.
답변 (1개)
Christopher Stapels
2023년 3월 9일
편집: Christopher Stapels
2023년 3월 9일
You can use the Alerts API to create an alert based on a condition you calculate in MATLAB code.After you apply the bandpass filter, call the API to send an email to your MathWorks account address.
커뮤니티
더 많은 답변 보기: ThingSpeak 커뮤니티
참고 항목
카테고리
Help Center 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!