Question

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

1 year ago | 2 answers | 1

### 2

Question

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 0 answers | 0

### 0

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?

1 year ago | 1 answer | 1

### 1

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

1 year ago | 0 answers | 0

### 0

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

1 year ago | 0 answers | 0

### 0

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

1 year ago | 2 answers | 0

### 2

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 }

1 year ago | 1 answer | 0

### 1

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

1 year ago | 0 answers | 0

### 0

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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?

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0