How to plot sudden rise or fall for a set of data points?
Show older comments
Good Morning,
I am using following functions to read data and time
t=NUM(:,1); data=NUM(:,2);
data consists noise and sudden increase and decrease data points. I need to find these points and plot. I used filter function and took difference of data points and able to do manually. I need to plot them automatically without any assumptions. Can someone give me any suggestion.
Cheesrs
3 Comments
sudheer kumar reddy
on 7 Mar 2011
sudheer kumar reddy
on 7 Mar 2011
Walter Roberson
on 8 Mar 2011
You indicated that the data is noisy. There will be rises and falls all over the place, even after the filtering, so you need to define which rises and falls are "sudden". In the noise part, they are likely to all be "sudden" on the scale of the noise.
If you can define a particular magnitude or relative magnitude that you would consider to be sufficient to be a sudden change, then it can be programmed. (It will, though, be an "assumption".)
Accepted Answer
More Answers (0)
Categories
Find more on Blue in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!