Time Series Graph in Matlab

I want to plot a graph like this
Can you help me ?

2 Comments

  1. Learn to use plot.
  2. Learn how to find the local peaks on a curve. That would likely involve the findpeaks function.
  3. Learn how to tell plot to draw on the previous figure just created, which means to learn about the hold command in MATLAB.
Essentially, you need to start to learn some basic tools in MATLAB. If a problem is too difficult for you to solve, then break it down into small parts. Solve each part one at a time. Then put the solution together.
Some useful links for you:

Sign in to comment.

Answers (0)

Asked:

on 19 Jan 2022

Commented:

on 19 Jan 2022

Community Treasure Hunt

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

Start Hunting!