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: how to convert a 6x128 matrix into a 3D image
Replies: 1   Last Post: Jul 7, 2014 11:06 AM

Advanced Search

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

Posts: 1
Registered: 7/4/14
how to convert a 6x128 matrix into a 3D image
Posted: Jul 4, 2014 11:23 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all, I have a .mat file which has 6 columns and 128 rows. I would like to convert it into a 3D image and rgb image aswell. But I am unsure on how to do this. I have tried this way

x = blah(:,1);

and so on to get all rows and columns and plot them but it gives me a 2D graph.
Can someone please post the code for it, it will be really appreciated.
Thanks in advance

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.