<< Display Matrix Toolbox Display Matrix Toolbox Graphics >>

Display Matrix Toolbox >> Display Matrix Toolbox > Dispmat

Dispmat

An overview of the Dispmat toolbox.

Purpose

The goal of this toolbox is to provide algorithms to display matrices.

Several functions focus of the mathematical analysis of the numerical properties of matrices. For example, the dispmat_see function displays 4 plots which allow to see the properties of the matrix and its pseudo-inverse. The dispmat_gersh allows to see the Gershgoring circles of the current matrix.

Other functions allows to display graphically the entries of a matrix. These functions may be used for example to illustrate the update of a matrix during a Gaussian elimination algorithm. The dispmat_plotnew displays a matrix of values with entries from A. Once the graphics created, the dispmat_plotconf function allows to configure the properties of the graphical object which correspond to the entry (i,j) of the matrix. The more general dispmat_plotgetcell returns the handle corresponding to the entry (i,j) and allows a complete customization of this graphical object.

The toolbox is based on macros.

This module depends on the apifun module.

Quick start

In the following example, we create a graphical 5 x 5 matrix.

A=[
          -9          11         -21          63        -252
          70         -69         141        -421        1684
        -575         575       -1149        3451      -13801
        3891       -3891        7782      -23345       93365
        1024       -1024        2048       -6144       24572
];
graphmat = dispmat_plotnew ( A );
cellij = dispmat_plotgetcell(graphmat,2,3);
cellij.BackgroundColor = [1 0 0];
cellij.FontAngle = "italic";
cellij.String = string(12);
// See that beautiful matrix...
// ... then close:
close(graphmat.figure);

In the following example, we show the numerical properties of a 5 x 5 matrix.

A=[
          -9          11         -21          63        -252
          70         -69         141        -421        1684
        -575         575       -1149        3451      -13801
        3891       -3891        7782      -23345       93365
        1024       -1024        2048       -6144       24572
];
dispmat_show ( A , %t );
h1 = dispmat_see ( A );
h2 = dispmat_spec ( A );
h3 = dispmat_gersh ( A );
// See that beautiful matrix...
// ... then close:
close(h1);
close(h2);
close(h3);

Authors

Bibliography

“Accuracy and Stability of Numerical Algorithms”, A Gallery of Test Matrices , Nicolas Higham

“The Test Matrix Toolbox for Matlab (Version 3.0)”, Nicolas Higham, Numerical Analysis Report No. 276, September 1995, Manchester Centre for Computational Mathematics, The University of Manchester

“Algorithm 694: a collection of test matrices in MATLAB”, Nicolas Higham, ACM Transactions on Mathematical Software, Volume 17 , Issue 3 (September 1991), Pages: 289 - 305

“Higham's Test Matrices ”, John Burkardt, 2005, http://people.sc.fsu.edu/~burkardt/m_src/test_matrix/test_matrix.html


Report an issue
<< Display Matrix Toolbox Display Matrix Toolbox Graphics >>