bsxfun

December 6th, 2009 No Comments   Posted in Functions

bsxfun – Apply element-by-element binary operation to two arrays with singleton expansion enabled
Syntax Read More

Introduction to Vectors in Matlab

December 4th, 2009 No Comments   Posted in Documents

Defining a Vector
vek
Matlab is a software package that makes it easier for you to enter matrices and vectors, and manipulate them. The interface follows a language that is designed to look a lot like the notation use in linear algebra. In the following tutorial, we will discuss some of the basics of working with vectors. Read More

accumarray

September 9th, 2009 No Comments   Posted in Functions

Construct array with accumulation Read More

plot

August 13th, 2009 No Comments   Posted in Functions

plot Linear plot.
plot(X,Y) plots vector Y versus vector X. If X or Y is a matrix,
then the vector is plotted versus the rows or columns of the matrix,
whichever line up. If X is a scalar and Y is a vector, length(Y)
disconnected points are plotted. Read More

Manipulating Matrices

March 13th, 2008 No Comments   Posted in Documents

Matrices and Magic Squares

Matlab MatrisIn MATLAB, a matrix is a rectangular array of numbers. Special meaning is sometimes attached to 1-by-1 matrices, which are scalars, and to matrices with only one row or column, which are vectors. MATLAB has other ways of storing both numeric and nonnumeric data, but in the beginning, it is usually best to think of everything as a matrix. The operations in MATLAB are designed to be as natural as possible. Where other programming languages work with numbers one at a time, MATLAB allows you to work with entire matrices quickly and easily. A good example matrix, used throughout this book, appears in the Renaissance engraving Melancholia I by the German artist and amateur mathematician Albrecht Dürer. Read More

for

March 6th, 2008 No Comments   Posted in Controls

for Repeat statements a specific number of times.
The general form of a for statement is: Read More