| MATLAB Central > MATLAB Newsreader > Writing Matrices to text file and printing additio... |
|
|
|
Subject: Writing Matrices to text file and printing additional text in specific format From: Eli Date: 20 Jun, 2012 17:53:06 Message: 1 of 17 |
|
Hi, I am trying to write data from 4 matrices to a text file. The data needs to be written in a specific format. I am having some trouble with one part of this. The details are below and my attempts at the solution are also included. |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 20 Jun, 2012 18:25:01 Message: 2 of 17 |
|
On 6/20/2012 12:53 PM, Eli wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: Eli Date: 20 Jun, 2012 19:17:15 Message: 3 of 17 |
|
dpb <none@non.net> wrote in message <jrt4hv$da6$1@speranza.aioe.org>... |
|
Subject: Writing Matrices to text file and printing additional text in From: Eli Date: 20 Jun, 2012 19:25:07 Message: 4 of 17 |
|
dpb <none@non.net> wrote in message <jrt4hv$da6$1@speranza.aioe.org>... |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 20 Jun, 2012 19:59:24 Message: 5 of 17 |
|
On 6/20/2012 2:17 PM, Eli wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 20 Jun, 2012 20:08:31 Message: 6 of 17 |
|
On 6/20/2012 2:25 PM, Eli wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: Eli Date: 21 Jun, 2012 15:24:07 Message: 7 of 17 |
|
dpb <none@non.net> wrote in message <jrt4hv$da6$1@speranza.aioe.org>... |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 21 Jun, 2012 18:03:32 Message: 8 of 17 |
|
On 6/21/2012 10:24 AM, Eli wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: Eli Date: 21 Jun, 2012 21:29:05 Message: 9 of 17 |
|
dpb <none@non.net> wrote in message <jrvnlm$jtj$1@speranza.aioe.org>... |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 21 Jun, 2012 23:35:09 Message: 10 of 17 |
|
On 6/21/2012 4:29 PM, Eli wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 21 Jun, 2012 23:49:39 Message: 11 of 17 |
|
On 6/21/2012 6:35 PM, dpb wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: Eli Date: 27 Jun, 2012 17:37:08 Message: 12 of 17 |
|
Here's an updated version of my code with the all the above commands: |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 27 Jun, 2012 18:17:51 Message: 13 of 17 |
|
On 6/27/2012 12:37 PM, Eli wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: Eli Date: 28 Jun, 2012 00:20:08 Message: 14 of 17 |
|
1. ^^^^^Okay, I printed the matrix with with fprintf using: |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 28 Jun, 2012 00:52:01 Message: 15 of 17 |
|
On 6/27/2012 7:20 PM, Eli wrote: |
|
Subject: Writing Matrices to text file and printing additional text in From: Eli Date: 28 Jun, 2012 01:46:07 Message: 16 of 17 |
|
^^^^Thanks regarding the first two. |
|
Subject: Writing Matrices to text file and printing additional text in From: dpb Date: 28 Jun, 2012 03:54:10 Message: 17 of 17 |
|
On 6/27/2012 8:46 PM, Eli wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| gui | Eli | 27 Jun, 2012 20:24:08 |
| specify f | Eli | 27 Jun, 2012 20:24:08 |
| remove zero | Eli | 27 Jun, 2012 20:24:08 |
| f | Eli | 27 Jun, 2012 20:24:08 |
| t | Eli | 20 Jun, 2012 15:29:09 |
| fopen | Eli | 20 Jun, 2012 15:19:09 |
| fid | Eli | 20 Jun, 2012 15:19:09 |
| cell data | Eli | 20 Jun, 2012 15:19:09 |
| fprintf | Eli | 20 Jun, 2012 13:54:12 |
| columns | Eli | 20 Jun, 2012 13:54:12 |
| printing | Eli | 20 Jun, 2012 13:54:12 |
| rows | Eli | 20 Jun, 2012 13:54:12 |
| size | Eli | 20 Jun, 2012 13:54:12 |
| formatting | Eli | 20 Jun, 2012 13:54:12 |
| coffset | Eli | 20 Jun, 2012 13:54:12 |
| roffset | Eli | 20 Jun, 2012 13:54:12 |
| dlmwrite | Eli | 20 Jun, 2012 13:54:12 |
| text | Eli | 20 Jun, 2012 13:54:12 |
| matrices | Eli | 20 Jun, 2012 13:54:12 |
