.. will unravel Temp into a vector, then give you the single largest value.
Of course,
max(max(Temp))
works too.
1
votes
max(max(TEMP)) is what you are looking for. max(X) returns max value from vector X. If X is matrix, then returns vector of max values in each row. so max(max(TEMP)) will return max value from matrix. Expressions sum(sum(X)), min(min(X)) works the same.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more