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

convolve the following sequences using tabulation method and verify the same using matrix mmethhod

How to make EMG analysis by Matlab?

conversion of decimal to binary

How to Start Working withSimpower: 1. In the Simulink screen, open a new "Model" (File àNewà Model), name it and save it. 2. Expand the SimPowerSystems library, select and

(a) Using Matlab, find and plot the magnitude of the DTFT of 10 samples of x(n) for n=[0:1:9] of x(n) = cos(2*pi*f1*n) + cos(2*pi*f2*n)  for f1=0.22 and f2=0.24 and pad zeros to ge

Obtain the input - Algorithms: From where does the input come? The two possible choices would be from an external file on a disk, or from the user, who enters the number by ty

In many applications, including ?nancial mathematics, ?nding zeros of a function f(x) = 0 (4) is paramount. One of the simplest method is the Bisection Method. The bisection

Variable names: Variable names are an example of the identifier names. The rules for identifier names are as shown below: (A)The name should begin with a letter of the alph

#create a matlab GUI for designing common emitter amplifier which produces AC load lines based on the component values