Finding a set of minimum, maximum and middle points with x and y axis

7 views (last 30 days)
I have a data I need to find some of the min,max and middle points of the data that contain both x and y axis. If anybody knows please help me.
Thanks in advance.

Accepted Answer

Sai Bhargav Avula
Sai Bhargav Avula on 23 Feb 2020
Hi,
You can use the min, max and mean function for the same. Refer to the linked documentation for a detailed understanding
Hope this helps!
  6 Comments
BHAGYALAKSHMI M
BHAGYALAKSHMI M on 24 Feb 2020
Thank you sir.
From this I can find 4 maximum and minimum points. But how can I find 4 middle points of the data?
Sai Bhargav Avula
Sai Bhargav Avula on 24 Feb 2020
Edited: Sai Bhargav Avula on 24 Feb 2020
To best of my knowledge there is no direct way to find the 4 middle points. One possible work around is to find the mean and find the K nearest neighbours around that point
Refer the below link to understand how to use KNN for your case
Hope this helps!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!