photo

ME


Attivo dal 2015

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


Can I scan 10 arrays all together to find one smallest value between all arrays?
I have 10 arrays.I need to be able to find the smallest value. I want to find another way of doing this rather than combining al...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


is it possible to pass an array into a function?
is it possible to pass an array into a function?

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


how can I create a new array with same data as existing array and in specific order ?
i have two arrays. a = [1,2,3,4,5]; b = [6,1,7,3,5]; I want to be able to create another array called 'c' which cont...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


Find n minimum values in an array?
I have an array, I need to be able to select 2, or 4 or so on 'n' minimum (smallest) values from the specific array? I know i c...

oltre 9 anni fa | 5 risposte | 0

5

risposte

Domanda


I need help preallocating array?
I need help making this array preallocated. p = 10; newArray = []; array = []; for i = 1:p a= variable1...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


help with preallocating arrays?
i need help making making this preallocated array myArray = [] variableArray = [] for i=1:10 variable = [1,2,3...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How do i find if variable k is element of an array?
I have an array of 90x2 and may variable is 1x2. i want to set an if statment which checks if k == array or k is an element of ...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


how can i delete rows from an array ?
I have an array called pair with dimension 90x2 this contains numbers 1 to 10 in each pair. e.g 3 7 ...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


can someone help me fix this for loop ?
I have three more arrays w, u and v they all have some elements from the array but w, u and v are all unique so do not have matc...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


how do i find matching row from an array?
I have an array and i want to find matching elements of a variable from the array how do i do that? p = [1 2;3 1]; c = [3 1] ...

oltre 9 anni fa | 1 risposta | 1

1

risposta

Domanda


how can i create a loop which reads rows in an array?
I want to create a loop which read each row in an array. the array have dimensions of 90x2.

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


is there a way of scanning an array to find out what there is in there so i dont reinsert the same variable in there?
i have an array numbers = [];, i want to create a while loop which inserts numbers into the array. i do not want repeated number...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


i have a while loop i wanna set the condition so it does 'while the array has less than 10 elements it runs'.
i have an array i = []; how do i code so that while i has less than 10 elements it runs.

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


I have an array of 10 by 6 and i want to randomly select rows from the array ?
I have an array which is 10 by 6. the array is data. I want to be able to select random rows from the array and to be assigned...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How do i select random indicies from an array?
I have an array of 10 by 6. is there a way I can randomly select rows from this particular array and everything within it.

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


I want to create a for loop which creates different pairs each time.
for i=1:p for j=1:p i~=j disp('i is equal to'); disp(i); disp('j is equal to'); disp(j); end end I have made this ho...

oltre 9 anni fa | 1 risposta | 0

1

risposta