idivide

December 5th, 2009 No Comments   Posted in Functions

idivide – Integer division with rounding option
Syntax Read More

floor

December 5th, 2009 No Comments   Posted in Functions

floor – Round toward negative infinity
Syntax Read More

fix

December 5th, 2009 No Comments   Posted in Functions

fix Round towards zero.
fix(X) rounds the elements of X to the nearest integers
towards zero.
Syntax Read More

round

December 5th, 2009 No Comments   Posted in Functions

round Round towards nearest integer.
round(X) rounds the elements of X to the nearest integers. Read More

Working with Matrices in Matlab

August 5th, 2009 No Comments   Posted in Documents

Generating Matrices

MATLAB software provides four functions that generate basic matrices. Read More

Matlab Expressions

August 5th, 2009 No Comments   Posted in Documents

Variables

Like most other programming languages, the MATLAB language provides mathematical expressions, but unlike most programming languages, these expressions involve entire matrices. Read More

format

March 6th, 2008 No Comments   Posted in Functions

format Set output format.
All computations in MATLAB are done in double precision.
format may be used to switch between different output display formats as follows:
format Default. Same as SHORT.
format SHORT Scaled fixed point format with 5 digits.
format LONG Scaled fixed point format with 15 digits.
format SHORT E Floating point format with 5 digits.
format LONG E Floating point format with 15 digits.
format SHORT G Best of fixed or floating point format with 5 digits.
format LONG G Best of fixed or floating point format with 15 digits.
format HEX Hexadecimal format.
format + The symbols +, – and blank are printed
for positive, negative and zero elements.
Imaginary parts are ignored.
format BANK Fixed format for dollars and cents.
format RAT Approximation by ratio of small integers. Read More