Community Profile # Brian Kim

14 total contributions since 2017

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

2 years ago | 2 answers | 0

### 2

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

2 years ago | 2 answers | 0

### 2

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

2 years ago | 1 answer | 0

### 1

Question

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 2 answers | 0

### 2

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

2 years ago | 2 answers | 0

### 2

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

3 years ago | 2 answers | 0

### 2

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 1

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 2 answers | 0