Use the Matlab Code for PeakVue

Status
Not open for further replies.

albara

Newbie level 4
Joined
Apr 12, 2012
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
Hi all,

Please help me to find the matlab code for the Peakvue technique. I've been looking for it for long time but fruitless so please help me.

Thanks
 

hello,

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??
 

hello,

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.
 

right, assume your vector is named 'brng' and you want to store the peak value in a variable 'pkval' the code in matlab would be

pkval = max(brng)

hope this helps.
 

right, assume your vector is named 'brng' and you want to store the peak value in a variable 'pkval' the code in matlab would be

pkval = max(brng)

hope this helps.

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.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…