Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- X Y Value
- __ __ __
- 1 2 6.9
- 1 3 6.8
- 1 4 8.1
- 2 1 7.2
- 2 3 11.7
- 2 4 16
- 3 1 22.6
- 3 2 20.5
- 3 3 18.1
- … … …
- X Y Value
- __ __ __
- 1 4 8.1
- 2 4 16
- 3 1 22.6
- X = [1; 1; 1; 2; 2; 2; 3; 3; 3];
- Y = [2; 3; 4; 1; 3; 4; 1; 2; 4];
- Value = [6.9; 6.8; 8.1;7.2;11.7;16;22.6;20.5;18.1];
- T = table(X,Y,Value);
- [~,maxidx] = max(Value);
- T(maxidx,:)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement