We want you to know the website you are entering is operated and controlled by a third party.
MAX is providing this external website link merely and strictly for your convenience. Please note: MAX has either no or limited control over the content, service, or products provided on the linked website, and MAX does not monitor the site you are entering.
What is Max?
- Country & Language.
- La fine: Una serie di sfortunati eventi 13 (Italian Edition);
- Unlocked and SIM-Free!
Let us help. The heart of MAX is our local communities. Stay Informed Stay up-to-date on the latest news, events, financial tips, and find us on social media. If A has type categorical , then it must be ordinal.
Data Types: single double int8 int16 int32 int64 uint8 uint16 uint32 uint64 logical categorical datetime duration Complex Number Support: Yes. Dimension to operate along, specified as a positive integer scalar.
If no value is specified, then the default is the first array dimension whose size does not equal 1. Dimension dim indicates the dimension whose length reduces to 1. The size M,dim is 1 , while the sizes of all other dimensions remain the same, unless size A,dim is 0.
Credit Unions in Alabama - MAX Credit Union
If size A,dim is 0 , then max A,dim returns an empty array with the same size as A. Vector of dimensions, specified as a vector of positive integers.
Each element represents a dimension of the input array. The lengths of the output in the specified operating dimensions are 1, while the others remain the same. Consider a 2-byby-3 input array, A. Then max A,,[1 2] returns a 1-byby-3 array whose elements are the maximums computed over each page of A. Data Types: double single int8 int16 int32 int64 uint8 uint16 uint32 uint Additional input array, specified as a scalar, vector, matrix, or multidimensional array. Numeric inputs A and B must either be the same size or have sizes that are compatible for example, A is an M -by- N matrix and B is a scalar or 1 -by- N row vector.
If A and B are datetime, duration, or categorical arrays, then they must be the same size unless one is a scalar. A and B must be the same data type unless one is a double. In that case, the data type of the other array can be single , duration , or any integer type. If A and B are ordinal categorical arrays, they must have the same sets of categories with the same order. If all elements are NaN , then max returns the first one. For datetime arrays, you can also use 'omitnat' or 'includenat' to omit and include NaT values, respectively.
The max function does not support the nanflag option for categorical arrays. Maximum values, returned as a scalar, vector, matrix, or multidimensional array. If size A,dim is 0 , then M is an empty array with the same size as A. Index, returned as a scalar, vector, matrix, or multidimensional array. I is the same size as the first output. When 'linear' is not specified, I is the index into the operating dimension.
When 'linear' is specified, I contains the linear indices of A corresponding to the maximum values. If the largest element occurs more than once, then I contains the index to the first occurrence of the value. Maximum elements from A or B , returned as a scalar, vector, matrix, or multidimensional array. The size of C is determined by implicit expansion of the dimensions of A and B. The data type of C depends on the data types of A and B :.
If either A or B is single , then C is single. If either A or B is an integer data type with the other a scalar double , then C assumes the integer data type. Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:. Select the China site in Chinese or English for best site performance.
Other MathWorks country sites are not optimized for visits from your location. Toggle Main Navigation. All Examples Functions More. Search MathWorks.
- Select a Web Site;
- Corporate Empathy.
- Sources: Lakers ship 3 to Wiz, open max space.
All Examples Functions. Toggle navigation. Trial Software Product Updates. This is machine translation Translated by. Examples collapse all Largest Vector Element. Open Live Script. Largest Complex Element.