photo

Anna


Univ of Cambridge

Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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?

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

circa 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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...

oltre 10 anni fa | 1 risposta | 1

1

risposta

Domanda


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...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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....

oltre 10 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 10 anni fa | 1 risposta | 0

1

risposta