MATLAB_Exponential_Properties Help

MATLAB_Exponential_Properties is a graphical user interface (GUI) that aids in understanding properties of the matrix exponential. The GUI illustrates the following properties for A ∈ MN(ℝ).

In the User Panel, check any boxes of properties you want illustrated, then click the ‘Plots’ button.


PIC

Figure 1: Use User Panel to select plots


Pop-up boxes will guide you through inputting the matrix A, the vector x0, and other conditions depending on which plots you select. The GUI will suggest random vectors for x0. However, you may overwrite the suggested vector by deleting an entry and inputting a different number. The GUI will save A and x0 to the workspace. To access them simply type ‘A’ or ‘x0’ (without the quotes) in the command line of MATLAB. The Check for Contractive plot will also output the eigenvalues of the matrix. The GUI will not display subscripts on the norms. The context will make clear whether the norm bars represent a vector or matrix norm.


PIC

Figure 2: Pop-up Boxes



PIC

Figure 3: Command Window


Explanations of each property plot in GUI

Plot Norm Estimate: Outputs the graphs of ∥eAtx 0∥ℝN and et∥A∥MN(ℝ) ∥x0∥ℝN vs time on a single axis for a fixed vector x0. Therefore, Property Norm Estimate can be verified by making sure one graph always stays above the other (Which one?).


PIC

Figure 4: Plot Norm Estimate


Plot Continuity in t: Outputs the graph of ∥eAt x 0 -eAt0 x 0∥ℝN versus t. The GUI is checking continuity at t = t0 where t0 is inputted in one of the pop-up boxes. To visualize Property Continuity in t, inputs, t, near t0 must induce small changes in g(t) - g(t0). That is,

  At        At
∥e    x0 - e  0 x0∥ℝN
is small when |t - t0| is small.

PIC

Figure 5: Plot Continuity in t


Plot Continuity in x : Outputs the graph of ∥eAt0 x - eAt0 x 0∥ℝN versus ∥x - x0∥ℝN for a fixed time, t0, provided by user. The GUI is illustrating continuity at x = x0 by randomly selecting vectors close to x0 then calculating ∥eAt0 x -eAt0 x 0∥ℝN. Conceptually, the idea is the same as for Continuity in t, when inputs are close together the difference in the outputs of h should be close together.


PIC

Figure 6: Plot Continuity in x


Check for Contractive: Outputs the graphs of ∥eAtx 0∥ℝN and ∥x0∥ℝN vs time on a single axis for a fixed vector x0. If the graph of ∥eAtx 0∥ℝN stays below ∥x0∥ℝN for several different choices of x0, then the GUI is suggesting the matrix may be contractive, but it is not definite. However, the GUI can show when a matrix is not contractive by finding a single vector for which the graph of ∥eAtx 0∥ℝN goes above ∥x0∥ℝN. The eigenvalues of the matrix will be displayed in the command window.


PIC

Figure 7: Check for Contractive


If more than one plot is selected all plots will be shown in an external window. To reset the GUI, click the ‘Reset’ button.