# ME

Active since 2015

Followers: 0   Following: 0

#### Feeds

View by

Question

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

9 years ago | 2 answers | 0

### 2

Question

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

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 5 answers | 0

### 5

Question

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

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 2 answers | 0

### 2

Question

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

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 1 answer | 1

### 1

Question

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.

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 2 answers | 0

### 2

Question

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.

9 years ago | 1 answer | 0

### 1

Question

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

9 years ago | 1 answer | 0

### 1

Question

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.

9 years ago | 2 answers | 0