Question


Hybrid Scheme in the Genetic Algorithm.
Why doesn't neither of the following codes compile? function genetic() FitnessFcn = @dejong2fcn; numberOfVariable...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Error in Rosenbrock Optimization with Analytic Hessian
The following program is not working. It is generating the following error: Error using gradient (line 6) Not enough in...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Finding gradient in MATLAB
If the gradient of 100*(y - x^2)^2 + (1 - x)^2 is, [-400*(y - x^2)*x - 2*(1 - x); 200*(y - x^2)] what would be t...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Which function can I use to implement the following image filter?
<<https://i.stack.imgur.com/HGDjr.png>> I have two questions, (1) What kind of image filter is this? Is it a band-pass fil...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Passing a parameters in MATLAB.
Suppose, I have the following functions: function [f,g] = rosenbrockwithgrad(x, a, b) % Calculate objective f f = ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Argument passing issue.
I have a requirement that, I use the following modified Rosenbrock function, <</matlabcentral/answers/uploaded_files/66648/un...

mer än 7 år ago | 1 answer | 0

1

answer

Question


How to plot an optimization in logarithmic scale?
The following code is expected to plot the output of Rosenbrock's function against number of iterations ( *for the sake of the p...

mer än 7 år ago | 1 answer | 1

1

answer

Question


Error: Not enough input arguments.
The following code works fine. See the inline function *fungrad*. function [x, fval, eflag, iter, fcount] = ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Optimization always returns (1, 1) !!
*The following was my problem given by my teacher.* Find a minimum of the Rosenbrock’s (banana) function without constraints....

mer än 7 år ago | 1 answer | 0

1

answer

Question


How can I use Giewack's function along with OptimTool to minimize Genetic Algorithm?
I can write Geiwack's function. But, how can I use it along with OptimTool to minimize Genetic Algorithm? Can anyone give ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Is there any learning material available for Knapsack/Backpack problem in optimization toolbox of MATLAB?
How can I learn to experiment with Knapsack problem in optimization toolbox of MATLAB? Is any video tutorial available out th...

mer än 7 år ago | 1 answer | 0

1

answer