The matrix operators and array operators are differentiated by the period (.) symbol. Array operations are executed element by element, both on one-dimensional and multidimensional array. Matrix arithmetic operations are same as defined in linear algebra. MATLAB allows two different types of arithmetic operations − MATLAB allows the following types of elementary operations − Therefore, operators in MATLAB work both on scalar and non-scalar data. MATLAB is designed to operate primarily on whole matrices and arrays. An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.
0 Comments
Leave a Reply. |