질문


How can I intersect between two cell array?
>> SI SI = 1×2 cell array [1×2 double] [1×2 double] >> U=SI{1} U = 1 2

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

1

답변

질문


How to make difference between two cell array?
>> NS NS = 11×1 cell array [ 1] [ 2] [ 3] [ 4] [ 5] ...

4년 초과 전 | 답변 수: 2 | 1

2

답변

질문


how do I translate this intruction in matlab?
C={} C <- C U {S} W <- W \ {S}

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

1

답변

질문


How can I fill my cell array?
Hello, U is cell: U = 1×2 cell array [1×2 double] [1×2 double] >> U{1} ans = 1 2 >> U{2} ans = ...

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

1

답변

질문


how to use cell ?
In my case >> U U = 1×2 cell array [1×2 double] [1×2 double] >> U{1} ans = 1 2 >> U{2} ans = 2...

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

1

답변

질문


How to separate element from cell?
U=SI U = 1×2 cell array [1×2 double] [1×2 double] U{1} ans = 1 2 >> U{2} ans = 2 3 My quest...

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

1

답변

질문


How to compare betwen two cells?
How to compare betwen two cells? like this: S and T1 are two cell with different values: c=1: i=1; SI{c},T1{i} the error "C...

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

1

답변

질문


how can I sort a struct?
my struct is declared as: chr.id=[]; chr.sequence=[]; chr.Si={}; chr.relevant=[]; chr.vic_item = []; len=numel(x); TI=rep...

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

1

답변

질문


How can I modify database in each iteration using the original one?
in my code T1 is a data base is already load, N=10; for i=1:N Qt(i).Cost = Evaluation(Qt(i).sequen,SI,D,T1,MST,NS,L); end...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how can i save struct in file txt?
I want to save my result in the form of struct in file How do we do that?

4년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Cell contents reference from a non-cell array object.
Error in Evaluation (line 67) U = [U TI(1).Si{a}]; here is my code, how can i fix this error? T1 = Evaluation(...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how can i fix this problem?
Not enough input arguments. : this error appear during the run the first lines of my program are function Z = Compare( T1,MST,...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how can i fill matrix using a vector?
my vector v1=[1 4 8 9 3 6 ] my matrix pop with size N*m N=10: m=4; I want to fill randomly matrix pop w...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How can I remove duplicate values from cell array?
I have this problem S={ 1 2, 2 3 } how delete duplicate value: S becomes {1 2 3 }

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

1

답변

질문


How can I fix this problem
U=[]; for a=1:numel(TI(1).Si) % Universe % U = [U TI(1).Si{a}]; end U = unique(U,'first'); Cell...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how can i put value of cell in vector?
this error appear during the run of my program "Cell contents reference from a non-cell array object."cell U=[ ] S={1 ,2 ,3...

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

1

답변

질문


Is it another command using to compare between vector and cell?
I have this code bellow: when U = [] and has value after , S also the same initila by S = {}, I use IsContainedIn to compare b...

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

1

답변

질문


how can i fix this error?
"Undefined operator '==' for input arguments of type 'cell'." this error appear when I want to compare the similarity between t...

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

1

답변

질문


how can i compare beteween two elements the first is cell and the second vector or class double in matlab?
Example: S= {1 2 } q= [ 1 2 3] how compare each element of q exisit in S?

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

1

답변

질문


how can fix this problem with matrix ?
How can I create matrix with the size N,m? How can I copy each array of matrix in a vector and make the modification in it and...

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

1

답변

질문


replace duplicate value by 0 in matrix or vector
How do we replace duplicate value by 0 in matrix or vector ? for example Input: b = 1 2 1 3 Output:: b= 1 2 0 3 Thank...

4년 초과 전 | 답변 수: 3 | 0

3

답변