photo

Phillip Smith


Last seen: oltre 4 anni fa Attivo dal 2019

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


Removing a coordinate from a list of coordinates.
Hey everyone, I have a list of coordinates, say K is a 10 by 2 double. What I'm doing is basically comparing that with anothe...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Changing the colour of the lines in a legend.
Hey everyone, I've seen this asked a few times but i can't find anything that actiually helps me. I have a matrix with 250 c...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Assigning colours to a group of columns when using plot
Hey everyone, I'm potting a matrix(M) with 50 columns. Everything plots well enough, what I want is for the first 10 columns of...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Coordinates of a 3 by 3 by 3 array
Hey, So I've made a 3 dimentional array yy=zeros(3,3,3); and I'm trying to find the position of the random 1that I have slap...

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Adding to a vector after each step of a for loop.
Hey everyone, So I have a bit of code, its function is irrelevant, that displays the number of timsteps that the it (the code...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Storing the output of a program in a matrix
Hello, I've made a program, doesn't matter what it does, and say it's called "progA". I get the program progA to output a num...

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Picking a random row of a matrix
Hello, I have a matrix Y that's nx2. Say in this case n=5. (n can only take the values 3,5 or 8 but I guess that doesn't matter)...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Storing the positions of neighbouring elements that have specific values.
A = zeros(5,5); A(3,4)=1; A(4,1)=1 I have a matrix of zeros with two 1's in postions (3,4) and (4,1). Starting with the 1 at ...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Counting the number of elements surrounding another element.
Hello, I've created a matrix and have I randomly set one of these matrix elements equal to 1. Now I want to count how many elem...

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Randomly changing a value of a matrix
Hello, I've made a 5x5 matrix of zeros, I want to randomly change one of the elements to a 1 How would i go about this? Many...

oltre 4 anni fa | 1 risposta | 0

1

risposta