20 total contributions since 2011

Professional Interests: Optimization, Evolutionary Computation

Question

how to force Draggable points to move along a line?

Hi All. I would like to use impoint to generate a draggable point. But I want to force it to move along a line. I try to do so ...

5 years ago | 1 answer | 0

Answered

optimization routine for function that is not smooth and also has a lot of local minimum

All the algorithms suitable for black-box optimization can be used. These algorithms, including Genetic algorithms (GA) and Part...

optimization routine for function that is not smooth and also has a lot of local minimum

All the algorithms suitable for black-box optimization can be used. These algorithms, including Genetic algorithms (GA) and Part...

6 years ago | 0

Question

Wilcoxon rank sum test

I would like to check if my data is smaller than zero or not. Assume the following example. A = -1*ones(15,1); [p, h, S...

6 years ago | 1 answer | 2

Answered

how to cyclically shift an array?

x = [1 : 1 : 10] for i = 1 : 5 x = [x(2:end) x(1)] end

how to cyclically shift an array?

x = [1 : 1 : 10] for i = 1 : 5 x = [x(2:end) x(1)] end

7 years ago | 0

Answered

plotting lines

y = [0:.1:10] plot(5,y) xlabel('Re') ylabel('Im') http://en.wikipedia.org/wiki/Imaginary_number

plotting lines

y = [0:.1:10] plot(5,y) xlabel('Re') ylabel('Im') http://en.wikipedia.org/wiki/Imaginary_number

7 years ago | 0

Answered

problem plotting complex function

The problem is that eps_compl is just a single number, and not an array. You compute eps_compl for every point, but you do not ...

problem plotting complex function

The problem is that eps_compl is just a single number, and not an array. You compute eps_compl for every point, but you do not ...

7 years ago | 0

| accepted

Answered

A little help?

The Matrix of interest of poster is: A = [1,2,3;4,5,6;7,8,9]; and the soloution is the following: B = A - min(A(:)); C...

A little help?

The Matrix of interest of poster is: A = [1,2,3;4,5,6;7,8,9]; and the soloution is the following: B = A - min(A(:)); C...

7 years ago | 0

Answered

can't add axis labels

xlabel('Frequency (Hz)'); ylabel('Surface Impedance');

can't add axis labels

xlabel('Frequency (Hz)'); ylabel('Surface Impedance');

7 years ago | 1

| accepted

Answered

ODE 45 intermediate value?

So the dynamics of your model changes based on the outcome of the model. Supose that when y(1) at time t1 gets above for instanc...

ODE 45 intermediate value?

So the dynamics of your model changes based on the outcome of the model. Supose that when y(1) at time t1 gets above for instanc...

7 years ago | 1

Answered

Return coordinate of first nonzero element.

A=boolean(2*rand(10,10)>1) % Creating a random Matrix Row = 2; % Assumung you are looking for the first 0 of the row 2. Co...

Return coordinate of first nonzero element.

A=boolean(2*rand(10,10)>1) % Creating a random Matrix Row = 2; % Assumung you are looking for the first 0 of the row 2. Co...

7 years ago | 0

Question

Matrix position stored in a variable!

Suppose A=rand(10,10) and I need to access the following elements in A: A(2,3), A(4,5), A(6,7). If the positions are stored in a...

7 years ago | 1 answer | 0

Answered

ode45

The only thing you have to do is to change plot(t,x(1),'red') to plot(t,x(:,1),'red') and so on for the rest o...

ode45

The only thing you have to do is to change plot(t,x(1),'red') to plot(t,x(:,1),'red') and so on for the rest o...

7 years ago | 0

| accepted

Question

ind2sub output dimension

My question is regarding the output of the ind2sub function. In my code, since the input dimention of ind2sub changes, i should ...

7 years ago | 2 answers | 0

Answered

WFDB - reading in ECG files

First you have to download the rdsign212.m and rdsign212.dll. To read the first N samples of an M-lead ECG (supposing that the d...

WFDB - reading in ECG files

First you have to download the rdsign212.m and rdsign212.dll. To read the first N samples of an M-lead ECG (supposing that the d...

7 years ago | 0

Answered

Password protect my subsystem using a password

http://www.mathworks.com/matlabcentral/newsreader/view_thread/274895

Password protect my subsystem using a password

http://www.mathworks.com/matlabcentral/newsreader/view_thread/274895

7 years ago | 1

Answered

ploting graph.

x=linspace(0,10,100); y1 = 5*x.^2 + 9*x - 5; y2 = -2*x.^2 + 4*x + 10; plot(x,y1,'r'); hold on; plot(x,y2,'b'); ...

ploting graph.

x=linspace(0,10,100); y1 = 5*x.^2 + 9*x - 5; y2 = -2*x.^2 + 4*x + 10; plot(x,y1,'r'); hold on; plot(x,y2,'b'); ...

7 years ago | 0

Answered

minimum of an array

My guess is the the following scales better: B = A; %work on a copy, not the original B([2 5],:) = []; %remove the 2...

minimum of an array

My guess is the the following scales better: B = A; %work on a copy, not the original B([2 5],:) = []; %remove the 2...

7 years ago | 0

Question

Accessing to the position stored in a variable

Suppose I have a matrix, A=rand(5,5) and an array, b=[2,3]. How can I extract the A(2,3) element? I know a simple solution is A(...

7 years ago | 1 answer | 0

Answered

mppt by using pso method

Please provide your email address so that I can contact you directlly.

mppt by using pso method

Please provide your email address so that I can contact you directlly.

7 years ago | 0