Plots aren't showing the whole array!
3 views (last 30 days)
Show older comments
Hi,
I received data which I have to evaluate. The data is "nearly" the same as a square wave signal. My job as simple as it appears, is to locate those points in the array where either the values suddenly rise or suddenly drop. I did this by analysing the deriviation of the data according to x. I let that deriviation plot by Matlab, but it's only showing me those peaks with positive gradient. I investigatet my data and recognized that the x-values of negative gradients are single values surrounded by those of positive gradients. Or let me say it differently: 397 Eeements of my deriviation vector are positive and only three are negative.
What could be the problem, inducing my plot to not show those points?
3 Comments
Answers (0)
See Also
Categories
Find more on Plot Customization 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!