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



Matrix text file output
Posted:
Jul 14, 2005 9:38 AM


I have read an image file into matlab using imread, which now shows each pixel value a a byte. I would now like to be able to explicitly output the matrix in its current form (i.e. an m by n array) into a text file so that I can copy and paste the results into C to form an array for further project work. I am struggling though to understand how to write the code to get the matrix to a text file.
Any help would be greatly appreciated. Thank you.



