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: Matrix text file output
Replies: 1   Last Post: Jul 14, 2005 10:18 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
Matrix text file output
Posted: Jul 14, 2005 9:38 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.

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.