photo

Anna


Univ of Cambridge

Aktiv seit 2014

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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?

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

fast 10 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort