% % And there should be a function that compares the elements, selects the minimum in the column and then compares which one is the maximum. I can't figure out what it should be.
Oh, it's some homework. I'm afraid you'll have to work it out yourself. It's not that hard. Keep track of your current minimum/maximum. Compare your element to that and if it is smaller/greater replace the current value.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
2 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/512813-how-to-find-the-maximum-element-among-the-minimum-elements-in-the-columns-in-matrix-m-n-with-using#comment_815045
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/512813-how-to-find-the-maximum-element-among-the-minimum-elements-in-the-columns-in-matrix-m-n-with-using#comment_815045
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/512813-how-to-find-the-maximum-element-among-the-minimum-elements-in-the-columns-in-matrix-m-n-with-using#comment_815050
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/512813-how-to-find-the-maximum-element-among-the-minimum-elements-in-the-columns-in-matrix-m-n-with-using#comment_815050
Sign in to comment.