photo

Anna


Univ of Cambridge

Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How do RGB values from 0 to 1 get converted to a number from 0 to 255?
Is the RGB value simply scaled to a number from 0 to 255 to determine the colour of a pixel on the screen?

10 years ago | 2 answers | 0

2

answers

Question


Standard deviation: error because variable is of type double
I've created a 30 by 15 array of random numbers with mean M and standard deviation sd. I've then scaled the values from 0 to 1 b...

10 years ago | 3 answers | 0

3

answers

Question


Why isn't truesize working properly?
I have created an image of a 300 by 300 matrix, and then used the command truesize(gcf, [300 300]); to make the array 300 pix...

10 years ago | 1 answer | 1

1

answer

Question


Can you continue with subsequent lines of code while waiting for user input?
I know that it isn't possible to run two scripts at once in MATLAB, however I would like to know if it is possible to execute co...

10 years ago | 1 answer | 0

1

answer

Question


How to set units of image of an array to pixels?
I have a matrix (called V) of 1000*1000 random 0s and 1s. I want each 0 or 1 to be represented by a single pixel on the screen....

10 years ago | 1 answer | 1

1

answer

Question


is it possible to draw a square of width 1000 pixels, which is always 1000 pixels wide, even if the size of the window is changed on the screeen?
I am trying to create an array of dots, each one pixel wide/tall so that the colour of each pixel can be specified. thanks

10 years ago | 2 answers | 0

2

answers

Question


How do I make a 3 dimensional matrix?
nothing more to add to the question!

10 years ago | 1 answer | 0

1

answer

Question


Why does the marker size change randomly?
I have created a function which generates a random array of 1000 white dots function RandomArray %generate random po...

10 years ago | 1 answer | 0

1

answer