Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to save matrices in a file, effective way
Replies: 4   Last Post: Nov 28, 2012 10:15 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Edwardo

Posts: 7
Registered: 11/24/12
How to save matrices in a file, effective way
Posted: Nov 24, 2012 6:57 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.