Obtaining max1, min1, and max2 via Matlab

  • Context: MATLAB 
  • Thread starter Thread starter tareqkh
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary

Discussion Overview

The discussion revolves around obtaining specific data points (max1, min1, and max2) using MATLAB. It includes inquiries about the context and methodology for finding these points, as well as the appropriateness of the question in a forum setting.

Discussion Character

  • Homework-related, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant requests assistance in obtaining max1, min1, and max2 in MATLAB.
  • Another participant questions whether the inquiry is related to homework.
  • A third participant asserts that the question is not homework-related.
  • A follow-up asks for clarification on the context of the question, including the source of the data plot and the participant's background with MATLAB.
  • It is suggested that a peak finder algorithm, such as peakfinder.m from the open file exchange, could be used, followed by sorting the results to identify the nth highest peak.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the context of the question, and there are varying levels of inquiry regarding the appropriateness of the request and the methodology to be used.

Contextual Notes

There is a lack of information regarding the specific data set and the intended application of the max1, min1, and max2 values, which may affect the approach to solving the problem.

tareqkh
Messages
3
Reaction score
0
Could anybody kindly tell me how to obtain max1, min1, and max2 via Matlab?

Thanks a lot
 

Attachments

  • Abdu.jpg
    Abdu.jpg
    30.3 KB · Views: 540
Physics news on Phys.org


Is this homework?
 


Absolutely No
 


tareqkh said:
Could anybody kindly tell me how to obtain max1, min1, and max2 via Matlab?

Thanks a lot

MisterX said:
Is this homework?

tareqkh said:
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 "please" 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.
 
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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 23 ·
Replies
23
Views
5K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K