Stream Line Plots of Vector Data

May 2nd, 2010 No Comments   Posted in Examples

Wind Mapping Data

The MATLAB vector data set called wind represents air currents over North America. This example uses a combination of techniques: Read More

Displaying Curl with Stream Ribbons

May 2nd, 2010 No Comments   Posted in Examples

What Stream Ribbons Can Show

Stream ribbons illustrate direction of flow, similar to stream lines, but can also show rotation about the flow axis by twisting the ribbon-shaped flow line. The streamribbon function enables you to specify a twist angle (in radians) for each vertex in the stream ribbons. Read More

Matlab Class for Graphing Functions

April 23rd, 2010 No Comments   Posted in Examples

Display Fully Commented Example Code

The class block is the code that starts with the classdef key word and terminates with the end key word. The following example illustrated a simple class definition that uses: Read More

Analysis of Functions, Interpolation, Curve Fitting, Integrals and Differential Equations 2

March 23rd, 2010 No Comments   Posted in Documents

Localize minima and maxima of functions

Let us try to find the local minima and maxima for the function func(x). The interval of interest is [-6 0]. The algorithms are iterative. There are 2 methods to use. The first one decides x in a given interval, and the second one looks for x around an initial guess. To decide the maxima we are looking for an x that minimizes the negative function: -func(x). Read More