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
how to reverse the digits of positive number by using mod function?


Create a text file with simulated data. Calculate an experimental y using the first function and some reasonable values for the parameters Add noise Save the x values and ca

how to convert char array to a string cell

Creating Column Vectors: One way to generate a column vector is by explicitly putting the values in square brackets, separated by the semicolons: >> c = [1; 2; 3; 4] c =

how to wriet program for batch reactor

How to calculate 2D/3D structure tensor of image

Use Matlab to solve the following set of linear equations by Gaussian Elimination. Write a for loop to perform elementary row operations on the augmented matrix to produce

design a rc phase shift oscillator for a particular frequency of oscillation and generate a sinusoidal signal

I have a biological signal need to be shifted by 12.5 ms and then add all the shefted signals together