The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Outputting matrix to text file
Replies: 2   Last Post: May 4, 2005 4:47 AM

Advanced Search

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

Posts: 11
Registered: 2/24/05
Re: Outputting matrix to text file
Posted: May 4, 2005 4:47 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

thanks Jerome,

I wanted it as a single column because I am using an FPGA and want to
simulate the data being read through Handel-C

I suppose though, it is possible to export the matrix in its normal
form into a text file also.

Jérôme wrote:
> Hi,
> I don't know why you want the output as a single column but :
> A=rand(100);
> f=fopen('A.txt','wt');
> fprintf(f,'%f\n',A);
> fclose(f);
> Jérôme

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.