Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 2 réponses | 1

2

réponses

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


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?

environ 5 ans il y a | 1 réponse | 1

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 5 ans il y a | 2 réponses | 0

2

réponses

Question


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 }

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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?

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 5 ans il y a | 3 réponses | 0

3

réponses