How to do moving average for x and y data points in a scatter plot?
Show older comments
I have soil moisture (x) data in the first column and correlation(y) data in the second column. I want a moving average line through the scatter plot of x and y data.I am getting a line which is connecting all the points which seems quite wrong.
Can somebody help me with this?
Thank you so much.
2 Comments
Dyuman Joshi
on 23 Apr 2023
Moving average how many points? What have you tried and what seems to be wrong?
Vidushi Koliyan
on 23 Apr 2023
Accepted Answer
More Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!