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



Re: Outputting matrix to text file
Posted:
May 4, 2005 4:47 AM


thanks Jerome,
I wanted it as a single column because I am using an FPGA and want to simulate the data being read through HandelC
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



