Unformatted text preview: − ) with equal precedence, left to right When operators in an expression have the same precedence the operations are carried out from left to right. Thus 3 / 4 * 5 is evaluated as ( 3 / 4 ) * 5 and not as 3 / ( 4 * 5 ) . 2.2.3 Variables and Assignment Statements Variable names can be assigned to represent numerical values in Matlab . The rules for these variable names are: • Must start with a letter • May consist only of the letters az , digits9 , and the underscore character ( _ ) • May be as long as you would like, but Matlab only recognizes the Frst 31 characters • Is case sensitive: items, Items, itEms, and ITEMS are all di±erent variable names. Assignment statement: Matlab command of the form: • variable = number • variable = expression 18...
View
Full Document
 Summer '09
 CHANG
 English, matlab, relational operator

Click to edit the document details