Posted

stop dde23 if the evaluation is over time

Hi all, I am using dde23 as a part of a parameter fitting process. For dde23, depending on the initial values that program gen...

1 year ago | 1054 views

Posted

vectorize the genetic algorithm optimization

Hi, I am using the genetic algorithm (GA) to fit the kinetic parameters of an ode system. Using the default settings, I could n...

2 years ago | 1003 views

Question

vectorize the genetic algorithm optimization

Hi, I am using the genetic algorithm (GA) to fit the kinetic parameters of an ode system. Using the default settings, I coul...

2 years ago | 1 Answers | 0

Question

Does genetic algorithm take a long time to find a solution?

Hi all, I am using the genetic algorithm to find the solution for 28 kinetic rates. The system consists of 14 ODEs and 9 time...

2 years ago | 0 Answers | 0

Question

How to track optimization process?

Hi all, I am solving a problem using genetic algorithm for the first time. The optimization code has been running for a whil...

2 years ago | 1 Answers | 0

Question

problems with using genetic algorithm to fit kinetic parameters

Hi all, I am learning how to fit kinetic parameters of a system of ODE using the genetic algorithm in the optimization toolbox....

2 years ago | 1 Answers | 0

Posted

problems with using genetic algorithm to fit kinetic parameters

Hi all, I am learning how to fit kinetic parameters of a system of ODE using the genetic algorithm in the optimization toolbox. ...

2 years ago | 1674 views

Posted

permute the elements in a vector

Hi all, I have a vector, e.g., A = [10 20 30 40]. There are 4! = 24 different ordering of these 4 elements. I want to generate ...

5 years ago | 5707 views

Posted

Construct a matrix with rotational column elements

Hi all, I want to construct a matrix with rotational column elements in each row. Following is an example Given r = [1 2 3 4]...

5 years ago | 4062 views

Posted

moving median filter

Hi all, I would like to smooth a dataset of 2080 data points using the moving median smoothing method. However, the "smooth" fu...

5 years ago | 2474 views

Posted

select the first element of each cell

Hi all, I have a 211*1 cell array, and each cell has to elements. I want to make a new variable that is composed of the first ...

5 years ago | 5608 views

Posted

use of num2str and cellstr

Hi all, I want to read a list of numbers from a tab-delimited file as strings, but I have some problems converting from numbers...

5 years ago | 7140 views

Posted

discrete colorbar

Hi all, I am plotting a 100*100 matrix using imagesc. The values in the matrix are integers between 1 and 10. I am looking for ...

5 years ago | 5417 views

Posted

cellfun isclass

Hi all, I have a cell array like the following GeneList = 'GeneName' 'EntrezID' 'ACVR1' 90 'ACVR1B' 91 The class of CellList...

5 years ago | 3062 views

Posted

generate a vector of random number

Hi all, s. The size of the vector is 28by1. The values are between 1 and 99. I want each element to be unique. Following is th...

6 years ago | 3593 views

Posted

use strmatch and cellfun

Hi all, I have two arrays as following, array1 = {'AA','EE'}; array2 = {'BB','AA','FF','CC','EE'}; I would like to match ind...

6 years ago | 2834 views

Posted

reset application data

Hi all, I defined a few application data in my GUI using setappdata(0,'name',value). I found that those application data that I...

6 years ago | 2545 views

Posted

reorder matrix elements in columns

Hi all, I need some help to optimize a code. If I have an original matrix (test_input), and the order of the elements in each c...

6 years ago | 3101 views

Responded

Re: generate a matrix with randperm

Hi all, Sorry, I have one more question. If I have an the original matrix with values and the order of the elements in each col...

6 years ago | 4981 views

Responded

Re: generate a matrix with randperm

Yes, it worked. Thanks so much. Wendy

6 years ago | 4981 views

Posted

generate a matrix with randperm

Hi all, I want to generate a matrix of random indices with integers in each column, say 1:5. For example, I want t the output t...

6 years ago | 4981 views

Posted

nnz

Hi all, I have a matrix, such as a = output = 4 5 2 Thanks very much, Wendy

6 years ago | 4014 views

Posted

nnz

Hi all, I have a matrix, such as A = I want to count the number of non-zeros in each row. Is there a matrix function that I...

6 years ago | 1740 views

Posted

pass info from secondary GUI to the main GUI

Hi All, I am creating a GUI with multiple windows. On the main GUI, I press a button called 'Main Button', and it brings a sec...

6 years ago | 1537 views

Posted

to create a cell array with the same content

Hi all, A ={ 'cell'; 'cell'; 'cell'; 'cell'; 'cell'}; I need to create a large list, so I cannot type in the cell elements on...

6 years ago | 1684 views

Posted

extract the content within brackets

Hi all, I have a cell vector, and the content of each cell looks like 'MI:0004(affinity chromatography technology)|MI:0096(p...

6 years ago | 7324 views

Posted

unique rows in cell array

Hi all, I am a 2000 by 3 cell, e.g. { 'MONO1.2' 'HSC1.3' 'CSF1' 'PRE_BCELL2.3' 'HSC1.3' 'PDGFA' 'PRE_BCELL2.3' 'HSC1.3' 'PDGFA...

6 years ago | 5805 views

Posted

strmatch related

Hi all, I have a list of names, for instance A = {'PRE_BCELL2.3' 'BCELLA1.2.3.4' 'BASO1' 'MEGA1.2' 'BCELLA1.2.3.4' 'NKA1' 'GM...

6 years ago | 1292 views

Posted

bar location

Hi all, I have a grouped bar group, for example, data = rand(3,4).*10; bar(data) I want to annotate the first bar in each gr...

6 years ago | 926 views

Posted

change diagonal to 1

Hi all, I have a big square matrix, and I want to change the diagonal elements to 1. Is there a way that I can change the diago...

6 years ago | 7105 views