corresponding trends plot in data series

Hello everyone
I plotted under matlab R2021a my data series (figure 1) and I would like to know how I can plot the corresponding trends to my data series as shown in black on the example of figure 2

1 Comment

hello
the trend is basically a low pass filtered version of the raw data
one method is to smooth the data , for example with smoothdata (try with 'gaussian' window)

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Release

R2021a

Asked:

on 16 Jan 2022

Commented:

on 17 Jan 2022

Community Treasure Hunt

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

Start Hunting!