Operators, MATLAB Programming

Operators:

There are in general two types of operators: unary operators that operate on a single value or operand; and binary operators, that operate on two values or operands. The symbol "-", for illustration, is both the unary operator for negation and the binary operator for subtraction.

Here are some of the general operators which can be used with numeric expressions:

+ addition

- negation, subtraction

* multiplication

/ division (divided by e.g. 10/5 is 2)

\ division (divided into e.g. 5\10 is 2)

^ exponentiation (e.g., 5^2 is 25)

 

 

Posted Date: 10/18/2012 3:31:56 AM | Location : United States







Related Discussions:- Operators, Assignment Help, Ask Question on Operators, Get Answer, Expert's Help, Operators Discussions

Write discussion on Operators
Your posts are moderated
Related Questions
An environmental consulting firm is conducting a site investigation on an abandoned industrial site that is 200 m by 150 m in size (Fig. 1). A number of piezometers were installed

Illustration of modifying the matrix elements: If a single index is used with the matrix, the MATLAB unwinds the matrix column by column. For illustration, for the matrix intm

how to find absolute value of a number



plase help me to convert a theory part of ammonia-vapour simple absorption system into matlab programmong

1;write a matlab of geuss elimination with scaling and pivoting under consideration?

Calling a Function: Here is an illustration of the call to this function in which value returned is stored in the default variable ans: >> calcarea(4) ans = 50.2655

Digging the Dirt: Autonomous Mining Robots   Mining is a multi-billion dollar industry and a critical part of the Australian economy. Much of the day-to-day work on mining sites

Referring to and Modifying Elements: The particular element in a vector is accessed by using the name of the vector variable and the element number (or subscript, or index) in