photo

ME


2015년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 5 | 0

5

답변

질문


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

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 1

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

9년 초과 전 | 답변 수: 1 | 0

1

답변