Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Edwardo
Posts:
7
Registered:
11/24/12


How to save matrices in a file, effective way
Posted:
Nov 24, 2012 6:57 PM


Hi,
I a doing a program that multiplies a lot of matrices. All the matrices are stores in a cell matrix. where:
cell(index,1) is the matrix in the left cell(index,2)is the matrix of the right cell(index,3) is the result.
I want to save a lot of matrices in this way in a file (example):
cell(index,1) cell(index,2) = cell(index,3) cell(index,1) cell(index,2) = cell(index,3) cell(index,1) cell(index,2) = cell(index,3)
and so on.
I know that exist the function dlmwrite, but I dont know exactly how to use it so that I can have this format.
Help! Thanks!



