Find difference between two measurements

Hello, i'm new to matlab and i need the community help. I use arduino to draw a graph that sends data four times the day.I want to find the daily difference of one measurement every day at specific time with the same measurement the day before. Is that possible? Any help would be valuable.Thanks.

Answers (1)

Without knowing what the data are, one option would be to use interp1 to determine the same values at specific times.
I have no idea if that will work with the data you have, however it is the only option I can think of that could do what you want.

2 Comments

I use an arduino sensor to upload a demical value four times a day and draw a graph.I would like to find what is the difference between two day measurements at the same time.I want to find the difference for example yesterday's demical value at 7 o'clock with today's measurement.Is that possible? Thank you.
Yes it is. Make it easy for him to help you by uploading your data.

Sign in to comment.

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Asked:

on 15 May 2021

Commented:

on 15 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!