How can i fit the signal ?

2 views (last 30 days)
Jessie Bessel
Jessie Bessel on 3 Mar 2018
Commented: Rik on 9 Mar 2018
So i have the signal from the figure. On OY is amplitude and on OX is time. My question is how to fit the signal in time? I mean, you see that the signal stop around 0.01 second. I want to delete from grafic that portion between 0.01 and 0.012. Do you know how to do that?

Accepted Answer

Rik
Rik on 3 Mar 2018
You are looking for the axis function.
axis tight
This also squeezes the y-axis, so if you don't want that, pass a vector with the explicit bounds.
  1 Comment
Rik
Rik on 9 Mar 2018
If you found this answer useful, please mark it as accepted answer. It will give me reputation points and will make it easier for other people with the same question to find an answer.

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!