Functions

The magic Function

Matlab MAGIC Function MATLAB actually has a built-in function that creates magic squares of almost any size. Not surprisingly, this…

Read More »
Documents

Matlab Image Types

Indexed Images An indexed image consists of a data matrix, X, and a colormap matrix, map. map is an m-by-3…

Read More »
Controls

The Colon Operator

The colon, :, is one of MATLAB’s most important operators. It occurs in several different forms. The expression 1:10 is…

Read More »
Functions

Subscripts

Subscripts Command The element in row i and column j of A is denoted by A(i,j). For example, A(4,2) is…

Read More »
Documents

Working with Images in MATLAB Graphics

What Is Image Data? The basic MATLAB data structure is the array, an ordered set of real or complex elements.…

Read More »
Examples

Stream Line Plots of Vector Data

Wind Mapping Data The MATLAB vector data set called wind represents air currents over North America. This example uses a…

Read More »
Examples

Displaying Curl with Stream Ribbons

What Stream Ribbons Can Show Stream ribbons illustrate direction of flow, similar to stream lines, but can also show rotation…

Read More »
Back to top button
Close