Results 1 to 2 of 2

Math Help - I need to make an image from a matrix with these colors.

  1. #1
    Junior Member
    Joined
    Apr 2012
    From
    Alaska
    Posts
    31

    I need to make an image from a matrix with these colors.

    Create a random matrix containing 1ís, 2ís and 3ís. Display the matrix using the image
    command, with

    1=red, 2=green and 3=blue.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Apr 2005
    Posts
    16,048
    Thanks
    1684

    Re: I need to make an image from a matrix with these colors.

    What is your difficulty? Do you know what a "matrix" is? If so "Create a random matrix containing 1ís, 2ís and 3ís" should be easy. To ". Display the matrix using the image command" sounds like you are using some kind of computer algebra system and I have no idea what commands it has. But I suspect you would just replace a bit in an n by n array with the color from the corresponding part of the matrix array.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 3
    Last Post: September 28th 2012, 10:15 AM
  2. Image/Column space of a Matrix
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: August 14th 2011, 11:24 PM
  3. Basis for space which contains the image of a matrix
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: October 7th 2010, 11:14 PM
  4. Image of a linear transformation matrix...
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: January 18th 2010, 10:34 AM
  5. Find image of u under matrix transformation
    Posted in the Advanced Algebra Forum
    Replies: 3
    Last Post: February 2nd 2009, 01:41 PM

Search Tags


/mathhelpforum @mathhelpforum