Feeds
질문
Adding to an array with constraints
I have a vector A = [0.2 0.3 0.1 0.3 0.4 0.0] and i will add a random number to the minimum number of vector A which is here...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
I want to generate random numbers with conditions
I want to generate 50 random numbers but i want to check that the summation of every 5 numbers have to be less than or equal 3...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
Decrease the least and increase the highest
I have an array A = [1 -3 -6 10 2 3 7 -1 -9 -3] B = [1 2 3 4 5 6 7 8 9 10] 1) I want to check the least negative and th...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
Average negative or positive numbers in an array
I have an Array A = [-1 -2 3 1 -9 8 1 2 3 -10 -7 -5] I want to check every 3 numbers the positive or the negative numbers are...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
putting an equation as a code
Can someone please help in writing this as a code? You will find the equation attached.
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Moving the places of the 1's
I have 2 matrices. Matrix A and B are already defined. A = [10 7 8 4 1 6; 2 6 4 3 5 1; ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
putting 1's in the place of the highest numbers
I have 2 matrices; matrix A and matrix B. Matrix A = [2 3 1 4 7 2 1 3 0 0 3 4 2 1 1] Mat...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
putting 1's in the place of the maximum numbers
I have 2 matrices; matrix A and matrix B. Matrix A = [2 3 1 4 7 6 5 2 1 3 0 0 0 0 3 4 2 1 1 1...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to divide 2 posynomials
Error: Posynomial division with another multi-term posynomial is not permitted I get this error and i want to divide 2 posyno...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
sum of a matrix of monomials
I have a 50 by 80 matrix of monomials and i want to sum the columns of each row so that i can have a 50 by 1 matrix.Any help?
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Sort a specific part of a row
what if i have a row [ 2 3 7 1 4] and i want to sort the values that are after the 4 only descendingly. P.S. i want it gener...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
count the number of 1 in each row
I have a matrix like this A = [0 1 0 1 1 0 1 1 1 1 1 1 1 0 1 1 0 0 0 1] and i want to count the number of 1's in ea...
9년 초과 전 | 답변 수: 3 | 0
3
답변질문
Calculating the percentage of numbers in my matrix
A = [ 18 4; 15 12; 12 0; 6 44 ;8 3; 2 22; 3 67; 5 32; 20 32; 10 4]; I have this matrix and i want to get the percentage of h...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
add elements in a matrix
I have a matrix like this 1 2 3 3 1 2 2 1 3 3 2 1 1 3 2 2 3 1 What i want to do is a 3x9 matrix that contains this c...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Adding elements with specific distance in a matrix
I have a matrix like this 1 2 3 3 1 2 2 1 3 3 2 1 1 3 2 2 3 1 What i want to do is a 3x9 matrix that contains this c...
9년 초과 전 | 답변 수: 1 | 0
