Community Profile

photo

Brian Kim


14 total contributions since 2017

Brian Kim's Badges

  • First Review
  • Thankful Level 1

View details...

Contributions in
View by

Question


How to adjust the ratio to compare the data in two variables?
There are two different variables. A=[107.5383 47.4492 36.4819 26.4964]; B=1.0e+03 * [4.1876 3.5687 3.4444 3.4548]; I...

alrededor de 2 años ago | 2 answers | 0

2

answers

Question


My matlab code is giving me this error "Too many outputs requested". If someone can help me solve this?
My code is as follows: function nn_ewn=optim_ewn(c_ewn) case_ewn=case_one_ewn_gen(c_ewn); a_cost=[]; for ii=1...

alrededor de 2 años ago | 2 answers | 0

2

answers

Question


how to calculate final minimum in for -loop?
It is assumed that there are calculated values according to the each iterations. if.. by for loop, 1st -> 31 14 ...

alrededor de 2 años ago | 1 answer | 0

1

answer

Question


I have a function code. I want to take your advice.
function nn_ewn=optim_ewn(c_ewn) case_ewn=case_one_ewn_gen(c_ewn); a_cost=[]; for ii=1:1:size(case_ewn,2) ...

alrededor de 2 años ago | 0 answers | 0

0

answers

Question


In "nchoosek" function, how to do some of elements of matrix are the same?
the title just is question. I want to get including that

alrededor de 2 años ago | 1 answer | 0

1

answer

Question


how to output selectively a random matrix
i have code. I'll explain this and then ask you a question. function numcase_ewn=Numcase_MW(ewn,col_l) tmp_ewn=fix(ewn...

alrededor de 2 años ago | 1 answer | 0

1

answer

Question


how to obtain the number of cases of length. but those matrices sum must be 30 or something value(on constraints)
first, -constraints- elements must be between 4 and 12 for example, A=[6 7 8 9], sumA=sum(A)=30; ...

alrededor de 2 años ago | 2 answers | 0

2

answers

Question


I want to obtain number of cases(matrix's length) . By applying same sum in any matrix. (on constraints)
for example, A is here. A=[6 7 8 9]; and, sumA=sum(A)=30; The element of the matrix that causes the sum to b...

alrededor de 2 años ago | 2 answers | 0

2

answers

Question


i have a important question!! ( function "randfixedsum" )
i successd in create matrix 'x' from "randfixedsum" http://www.mathworks.com/matlabcentral/fileexchange/9700-random-vect...

más de 2 años ago | 2 answers | 0

2

answers

Question


how to generate random integer matrices on constraints?
x=[4 5 5 5 5 5 5 5 5 ]; and, # sum(x)=44 is alway same. # As a result, x{1}=[4 4 4 5 5 5 5 6 6] ...

más de 2 años ago | 1 answer | 0

1

answer

Question


In randfixedsum function, how to generate random integer matrices?
<https://fr.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum> in this function, i want to gener...

más de 2 años ago | 1 answer | 1

1

answer

Question


how to delete same cols from a matrix
for example, a=[4 5 6 5 6 4; 4 6 5 3 5 4; 4 7 2 8 2 4; 4 2 4 7 4 4; 4 3 9 1 9 4;] is. so, row=1 &...

más de 2 años ago | 1 answer | 0

1

answer

Question


i wanna generate matrix. the way fixed sum of any matrix. at the same time, will use limiting conditions
a=[4 5 5 5 5 5 5 5 5]; sum of a is '44' so, i want to create matrices of sum '44'. At the same time, ...

más de 2 años ago | 2 answers | 0

2

answers

Question


In any matrix, how to generated by sum' same along rows
any matrix is "a". ex) a=[4 4 5 5 5 5 5 5 5 5]; sum(a) is equal to '48' if one matrix exist, how to generate along row...

más de 2 años ago | 1 answer | 0

1

answer