Kaveh Haddadian
Active since 2018
Followers: 0 Following: 0
Dear all,
i have a problem to find min and max values in my matrix.
My matrix looks like
A=[1 5
1 10
1 3
2 4
2 8
2 5
2 6
3 7
3 38
3 25];
I would like finde the max and mine values dependig of first colum.
The result should looks like this:
min(1)=3;
max(1)=10;
min(2)=4;
max(2)=8;
etc.
Do you have any suggestion for me?
thanks and best regards