Phillip Smith

Last seen: environ 4 ans il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

Afficher les badges

Feeds

Afficher par

Question

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question

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

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question

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

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question

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

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question

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

plus de 4 ans il y a | 1 réponse | 0

réponse