PDA

View Full Version : Matlab Help please


tareqkh
Feb4-12, 02:10 PM
Could any body kindly tell me how to obtain max1, min1, and max2 via Matlab?

Thanks alot

MisterX
Feb4-12, 02:38 PM
Is this homework?

tareqkh
Feb4-12, 02:53 PM
Absolutely No

berkeman
Feb4-12, 03:17 PM
Could any body kindly tell me how to obtain max1, min1, and max2 via Matlab?

Thanks alot

Is this homework?

Absolutely No

Then can you please tell us the context of the question? What is the data plot from? Why do you need to find those points? What is your background with MATLAB? Can you use a different programming language to do this problem?

BTW, txt speak like "plz" is not allowed on the PF (see the Rules link at the top of the page). I have edited your thread title to get rid of the txt speak.

Pythagorean
Feb4-12, 03:39 PM
you'd need a peak finder algorithm first, there's peakfinder.m on the open file exchange. Then you can use matlabs 'sort' to order them from highest to lowest, then your nth entry in that array is nth highest peak.