Home > ISET > gui > ieReadMatrix.m

ieReadMatrix

PURPOSE ^

Enter values of a matrix

SYNOPSIS ^

function mat = ieReadMatrix(defMatrix,fmt,prompt)

DESCRIPTION ^

Enter values of a matrix

  mat = ieReadMatrix(defMatrix,[fmt],[prompt])

 The user  types in a set of matrix entries for a matrix of the size of
 the default matrix, defMatrix. If this is not passed in then, the
 defMatrix = eye(3). 

 Example:
    d = ieReadMatrix(zeros(3,3));
    d = diag(ieReadMatrix(ones(1,3),'  %.2f',' Enter peak [0,1]'));

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003