Plots aren't showing the whole array!
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
Dyuman Joshi
on 16 Oct 2023
"I did this by analysing the deriviation of the data according to x."
What exactly was the process of analysing? Which operations did you perform?
It would be helpful if you can attach the data you are working with and the code that you have written to analyse the data.
Johannes Graf
on 16 Oct 2023
Edited: Johannes Graf
on 16 Oct 2023
Mathieu NOE
on 19 Oct 2023
can you share some data and a working code ?
Answers (0)
Categories
Find more on Graphics Performance 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!