Finding max and min value for each number interval
Show older comments
Hello,
I have stress strain data which has 5000 rows and I need to clean unnecesaay number. I only need max and min value for each number interval to perform interpolation. i dont know how to explain let me give you an example:
x=1.1,1.2, 1.3, 1.4, 1.9, 2.1, 2.2, 2.5 ,2.7, 2.9, 3.1, 3.4...... and i only need 1.9 and 2.1 2.9 and 3.0 to do interpolation. for the number 1 i need max and min value. for the number 2 i need min and max value and so on... Thank you so much in advance. I am sorry if I violete any rule. this is my first question here.
5 Comments
Sorry it still isn't quite clear to me what you are trying to do. Can you please try to extend your explanation. It would most helpful if you could provide an actual example input set of values and and the resulting output set of numbers you are trying to obtain.
Nagihan ERDEM
on 1 Oct 2020
Edited: Nagihan ERDEM
on 1 Oct 2020
Jon
on 1 Oct 2020
I'm sorry but I still can't understands. Please give a specific example. Something like, here are a set of example input values, here are the results (answers) I am looking for.
Nagihan ERDEM
on 1 Oct 2020
I need the max and min value for each set of data
But you've only shown us a single sequence of numbers. You haven't explained how those numbers are to be divided into sets. In your first example, it looks maybe sort-of like every number that is the same up to 0 decimal places form a set. In your second example, it looks like numbers which are the same up to the first two decimals form a set.
Accepted Answer
More Answers (0)
Categories
Find more on Signal Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!