how to make an axis at the centre (symmetric) of a damped oscillation?

2 views (last 30 days)
Hi there,
For a graph like this, how can I make an axis at the centre of the waves (i.e., along the red marks which i have made. All i want to do is I have two similar graphs with changing amplitudes. I wanted to put them in a same graph to compare the amplitude and explain how the amplitude changes with the change in parameters). Any help would be highly appreciated. Attachment made below
Thanks!!

Accepted Answer

KSSV
KSSV on 28 Mar 2017
Calculate the mean of the data and subtract from the data.
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D 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!