photo

ME


Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

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

meer dan 9 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 5 answers | 0

5

answers

Question


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

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 2 answers | 0

2

answers

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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 1 answer | 1

1

answer

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.

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 2 answers | 0

2

answers

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.

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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.

meer dan 9 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 9 jaar ago | 1 answer | 0

1

answer