Contents Previous Next Subchapters Current Chapters-> mlmode_assignment multiplestatement mlmode_same mlmode_if mlmode_for mlmode_while mlmode_colon mlmode_numbers mlmode_building mlmode_character mlmode_quote mlmode_matrixdivision mlmode_logicalop mlmode_numericop mlmode_realpart mlmode_matrixindex mlmode_logicalindex mlmode_grow Parent Chapters-> Omatrix6 mlmode mlmode_language mlmode_same Search Tools-> contents reference index search

Different Syntax with Same Meaning in Mlmode and O-Matrix Mode
 Syntax `% .* ./ .^ .' & | ~ ~= nargin nargout` O-Matrix Mode `# % / ^ ' and or not <> arg(0)`

Operators
The following table lists the operators that have the same meaning, but are different, in the O-Matrix and Mlmode:
 Mlmode O-Matrix Meaning `%` `#` Comments and Statement Continuation `.*` `%` Element-By-Element Multiplication `./` `/` Element-By-Element Division `.^` `^` Element-By-Element Exponentiation `.'` `'` Element-By-Element Exponentiation `&` `and` Logical Operators `|` `or` Logical Operators `~` `not` Logical Operators `~=` `<>` Testing Numeric And Logical Equality

Expressions
The following table lists certain expressions that have the same meaning, but are different, in O-Matrix and Mlmode:
 Mlmode O-Matrix `y / A` (A' \ y')' `nargin` The first element of arg(0) `nargout` The second element of arg(0)

Example
If you enter ```      omatrix      [ 1 , 2 ] % [ 3 , 4 ] ``` O-Matrix will reply ```      [ 3 , 8 ] ``` If you continue by entering ```      mlmode      [ 1 , 2 ] .* [ 3 , 4 ] ``` O-Matrix will reply ```      [ 3 , 8 ] ```