Writes a sparse or dense matrix to a Matrix Market file
mmwrite(filename, A ) mmwrite(filename, A , comment ) mmwrite(filename, A , comment , field ) mmwrite(filename, A , comment , field , precision )
a 1-by-1 matrix of strings, path of the Matrix Market file.
a matrix of type 1 (real or complex matrix), 4 (boolean matrix), 5 (sparse matrix) or 6 (sparse boolean matrix).
a 1-by-n matrix of strings, contains the comments to write in the file header (default comment = []). If ommitted, or if equal to the empty matrix, a single line date stamp comment will be included.
a 1-by-1 matrix of strings, with values "real", "complex" or "pattern" (default field = "default") If equal to "default", data will determine type.
a 1-by-1 real matrix, the number of digits to display for real or complex values (default precision=16).
Writes a sparse or dense matrix to a Matrix Market file. Scilab sparse boolean matrices are stored with "pattern" data field type.
Copyright (C) 2009 - INRIA - Serge Steer
Copyright (C) 2011 - Benoit Goepfert
Copyright (C) 2011 - DIGITEO - Michael Baudin
http://math.nist.gov/MatrixMarket/formats.html
http://math.nist.gov/MatrixMarket/mmio/matlab/mmwrite.m