Test matrices
gallery是一个产生测试矩阵的函数。下面讲解其语法以及用法描述,数据手册上的英文很简单,耐心看,我就不一一翻译了。
Syntax
[A,B,C,...] = gallery(matname,P1,P2,...)
[A,B,C,...] = gallery(matname,P1,P2,...,classname)
gallery(3)
gallery(5)
Description
[A,B,C,...] = gallery(matname,P1,P2,...)
returns the test matrices specified by matname
. The matname
input is the name of a matrix family selected from the table below. P1,P2,...
are input parameters required by the individual matrix family. The number of optional parameters P1,P2,...
used in the calling syntax varies from matrix to matrix. The exact calling syntaxes are detailed in the individual matrix descriptions below.
[A,B,