the peak value of any matlab vector can be found using the max() fuction and the lower peak using the min() function. if you provide details of your exact problem you might get better answers??
the peak value of any matlab vector can be found using the max() fuction and the lower peak using the min() function. if you provide details of your exact problem you might get better answers??
Thank you for your reply. My data is a one vector data recorded from bearing and I want to apply the peakvue to it so if you can help me on the code or you have a code for the peakvue I'd appreciate it.
I know this ok but you end up with one value for each vector. I need to segmentize my vector and calculate the peakvue for each segment then trend if or find the ftt for the whole segments. I think this is the method of the peakvue
mate if you need good advice you have to explain your problem in more detail. segmenting a vector is fairly elementary matlab so is finding the fft of a signal. you might want to do a bit of reading around the subject.