Time Series Graph in Matlab

1 view (last 30 days)
Vartika Agarwal
Vartika Agarwal on 19 Jan 2022
Commented: Ankit on 19 Jan 2022
I want to plot a graph like this
Can you help me ?
  2 Comments
John D'Errico
John D'Errico on 19 Jan 2022
  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.

Sign in to comment.

Answers (0)

Categories

Find more on Line Plots 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!