parallel computing in Genetic algorithm
Hello everyone, I am using the genetica algorithm code 'ga' to optimize my function. However, it is taking very large amount of...
10 meses ago | 2 answers | 0
Integration of functions of 1 and 2 vaiables
I have two questions: I have a function like this: f(x) = 1 (if x=0) and f(x)=0 (if x~=0). How can I integrate between any int...
12 meses ago | 1 answer | 0
Problem in 2 dimensional numerical integration
I am trying to integrate a function of the form , (where H is the heaviside function) for the domain , where and are fixed c...
más de 2 años ago | 1 answer | 0
Solving system of ODEs
I have a system of DEs similar to the following: If the variable Z is not present (i.e. eq (3) also), then I can solve it using...
casi 3 años ago | 2 answers | 0
Interpolation of matrices corresponding to time vector
I have a vector containing time points, and a cell structure containing matrices as its elements. I want to interpolate the cor...
alrededor de 3 años ago | 2 answers | 0
Importing big txt files
I have text file (.txt) of size around 20gb. I need to import it to Matlab. I tried using A = load('file.txt') , but it'...
más de 3 años ago | 0 answers | 0
Conditional function creating with @ handle
If I want to make a function f(x,y) = x+y, we do f= @(x,y) x+y Now I want to create a function of the form, f(x,y) = x+y if ...
más de 3 años ago | 2 answers | 0
How to delete elements from structure
I have a structure of the above kind. Lets choose , cell.population(1).type = 1 cell.population(2).type = 2 cell.populati...
más de 3 años ago | 2 answers | 1