- 1. Sum(a)
- 2. A’
- 3. Sum(a’)’
- 4. Diag(A)
- 5. Fliplr(a)
- 6. Diag(fliplr(a))
- 7. A(4,2)=a(8)
- 8. To add an element,
- 9. A(4,5)=17; than 17= a(20)
- 18. Matrix manipulation
- Variable: num_students = 25 creates a 1-by-1 matrix named num_students and stores the value 25 in its single element
- Numbers: MATLAB uses conventional decimal notation, with an optional decimal point and leading plus or minus sign, for numbers. Scientific notation uses the letter e to specify a power-of-ten scale factor. Imaginary numbers use either i or j as a suffix. Some examples of legal numbers are
- Operators: Expressions use familiar arithmetic operators and precedence rules.
- 1. Trigonometric.
- 2. Exponential.
- 3. Complex
- 4. Rounding and remainder
- 5. Specialized math functions
- 6. Number theoretic functions
- 7. Coordinate transforms.
- 8. Special variables and constants
0 comments:
THANKS FOR UR COMMENT ....