Question

How to scan text file?
Hello every one I have a text file contains: 1,24,85,90 23,36 34,36,39,56,85,86,90 34,59,67,85,86 39,85,93 I want to scan...

ungefär 2 år ago | 2 answers | 0

### 2

Question

How to insert value in the first of vector?
CumProb ans = 0.1579 0.2105 0.3158 0.4211 0.5263 0.7895 1.0000 I want to insert the value ...

ungefär 2 år ago | 1 answer | 0

### 1

Question

how can i add column in matrix?
A is a matrix: 0 9 8 4 6 9 0 8 4 3 0 6 4 8 9 8 0 ...

ungefär 2 år ago | 1 answer | 0

### 1

Question

How can I save .mat to .csv file
I have a struct of name pop has diferent field saved as .mat I want to transform it as .csv file How do I do that? thanks.

ungefär 2 år ago | 1 answer | 0

### 1

Question

How to use crossover and mutation ?
my population is lake that p1 = [ 9 3 6 0 0] p2 = [1 0 2 5 0 ] how to use crossover and mutation to obtain new solution?

ungefär 2 år ago | 1 answer | 0

### 1

Question

how can i put cell value in a vector?
U = 1×2 cell array [1×2 double] [1×2 double] U contains these values in cell U{1} ans = 1 2 U{2} ans ...

ungefär 2 år ago | 2 answers | 0

### 2

Question

Cell contents reference from a non-cell array object.
why this error appear "Cell contents reference from a non-cell array object" U = {} at first U = TI(s).Si; TI is strict ...

ungefär 2 år ago | 0 answers | 0

### 0

Question

How can I implement this easily?
While (W is not empty) Select S ∈ F \ C that maximize | S ∩ W| C <-- C ∪ {S} W <-- W \ {S} end retrun C How do i imp...

ungefär 2 år ago | 0 answers | 0

### 0

Question

How can i delete cell from cell array?
I have two cell array, W = 1×2 cell array [1×2 double] [1×2 double] F = 3×2 cell array [1×2 double] ...

ungefär 2 år ago | 0 answers | 0

### 0

Question

How to fix this problem?
>> sitem sitem = 1 2 3 >> U U = 1×2 cell array [1×2 double] [1×2 double] U{1} ans = 1 2 ...

ungefär 2 år ago | 0 answers | 0

### 0

Question

How to compare between two cell array?
>> W={ [1 2] , [1 3] , [1 4] , [2 3] , [2 4] } W = 1×5 cell array [1×2 double] [1×2 double] [1×2 double] [1×2...

ungefär 2 år ago | 1 answer | 0

### 1

Question

How to implement the pseudocode in matlab?
C is empty Output: victitem <- , victim item to be deleted W =U While (w is not empty) Select S <-- F \ C that maximize ...

ungefär 2 år ago | 0 answers | 0

### 0

Question

Undefined operator '~=' for input arguments of type 'cell'.?
W is cell contains cell values in iteration the size of W is reduced by removing cell, and in each time check W is empty , how...

ungefär 2 år ago | 1 answer | 0

### 1

Question

I have file .txt contains 1 2 2 3 I want to read the file and put each value 12 , 23 in a cell array How can I do that ...

ungefär 2 år ago | 1 answer | 0

### 1

Question

How to convert cell array to double?
I have U like that : U = 1×2 cell array [1×2 double] [1×2 double] >> U{1} ans = 1 2 >> U{2} ans = ...

ungefär 2 år ago | 1 answer | 0

### 1

Question

How to convert cell 2 double?
>> U=SI U = 1×2 cell array [1×2 double] [1×2 double] >> U{1} ans = 1 2 >> U{2} ans = 2 3 >>...

ungefär 2 år ago | 1 answer | 0

### 1

Question

How i check cell in cell array is different of 0?
for i=1:numel(T1) if T1{i}~=0 Items=union(Items,T1{i}); end end ~= is not for cell

ungefär 2 år ago | 1 answer | 0

### 1

Question

I want t know if cell is contained in another cell?
for i=1:numel(T1) for j=1:numel(T1{i}) if Id==i for h=1:length(vic) ...

ungefär 2 år ago | 1 answer | 0

### 1

Question

How I can choose randomly value from cell?
>> SI SI = 1×2 cell array [1×2 double] [1×2 double] >> for i=1:numel(SI) disp(SI{i}); end 1 2 ...

ungefär 2 år ago | 2 answers | 0

### 2

Question

How to fix this error?
Cell contents reference from a non-cell array object. e = cell2mat(TI(q).Si); TI is repmat Si is element of TI class cell

ungefär 2 år ago | 0 answers | 0

### 0

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

ungefär 2 år ago | 1 answer | 0

### 1

Question

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

ungefär 2 år ago | 2 answers | 1

### 2

Question

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

ungefär 2 år 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 = ...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år ago | 0 answers | 0