Respondida
pde toolbox: how to integrate the solution only over a subdomain?
Depending on your MATLAB version, you can interpolate the solution to any point you give using <http://www.mathworks.com/help/pd...

más de 9 años hace | 0

Respondida
Problem to maximize one and minimize other objective
<http://www.mathworks.com/help/gads/maximizing-vs-minimizing.html Negate the objective that you want to maximize>. Alan Weiss...

más de 9 años hace | 0

| aceptada

Respondida
While implementing genetic algorithm for finding the global minimum for a variable 'y' (which depends upon both x and z), I want to optimise only x and not z. I want to input z from the main code and pass it to my fitness function. Can this be done?
<http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html See the documentation on passing extra parameters>, and qu...

más de 9 años hace | 1

| aceptada

Respondida
Genetic Algorithm starting population with integer valued variables
I don't know why you think that you cannot put in some initial points to help start the optimization. <http://www.mathworks.com/...

más de 9 años hace | 0

| aceptada

Respondida
Comparison of Gradient Ascent and Hill Climbing
<http://www.mathworks.com/help/optim/examples/banana-function-minimization.html This example> might give you some ideas about po...

más de 9 años hace | 1

Respondida
Customising creation function in GA optimisation tool
<http://www.mathworks.com/help/gads/examples/custom-data-type-optimization-using-the-genetic-algorithm.html This example> might ...

más de 9 años hace | 0

| aceptada

Respondida
The value of the parameter doesn't seem to vary while I use fmincon or patternsearch?
Do you have nonlinear constraints? If so, you might not see all the points that |patternsearch| is visiting. If not, then |pa...

más de 9 años hace | 0

Respondida
How do I solve a system of non linear partial differential equation?
I am not certain, but it is possible that Partial Differential Equation Toolbox can handle this equation. The toolbox requires s...

más de 9 años hace | 0

Respondida
Passing symprod into fmincon error
There are several possible problems here, but the main one is that |fmincon|, like all other optimization solvers, takes a *sing...

más de 9 años hace | 0

Respondida
Fmincon cannot move away from initial point
I suggest that you take a look at <http://www.mathworks.com/help/optim/ug/when-the-solver-might-have-succeeded.html#br44i4j Fina...

más de 9 años hace | 0

Respondida
Why the value of variables optimized using ga (genetic algorithm) are always different from 0 (but something like 0,00123) even if 0 would be more convenient?
There are several things that might be going on. If you have an integer problem, where you know that some of your variables shou...

más de 9 años hace | 0

| aceptada

Respondida
Is there a way to view all of the iterations/generations using the optimization toolbox?
Use an <http://www.mathworks.com/help/optim/ug/output-function.html output function>. There is an example <http://www.mathworks....

más de 9 años hace | 0

Respondida
How to use ga optimization function with 3 variables (2 cell arrays, 1 array of different dimensions)
The <http://www.mathworks.com/help/gads/computing-objective-functions.html documentation for objective functions> states that yo...

más de 9 años hace | 2

| aceptada

Respondida
Why is fmincon ending in points it knows are sub-optimal?
It appears that the first-order optimality measure is nowhere near zero, so I am sure that |fmincon| does not claim that it reac...

más de 9 años hace | 2

| aceptada

Respondida
How to access to the vertices and facets of each face detected using importGeometry (PDE toolbox) ?
First you have to create the mesh: generatemesh(model); If you have the latest MATLAB version (R2016b), you can view the ...

más de 9 años hace | 1

Respondida
How to use fmincon on an symbolic integral function
I do not understand your example, but perhaps a completely new start will help you. Suppose that you have a parameterized functi...

más de 9 años hace | 0

Respondida
in MATLAB 2015b PDE toolbox for 3D geometry, how can i specify coefficients?
<http://www.mathworks.com/help/releases/R2015b/pde/index.html The R2015b documentation is here>. The specific part of the doc...

más de 9 años hace | 0

Respondida
Solving 2 nonlinear elliptic pdes in 2 separate domains (2D), coupled by a function of solution u
I am not sure that I completely understand the problem, but perhaps you could try to do the following. If the two electrodes hav...

más de 9 años hace | 0

| aceptada

Respondida
I can't use pde toolbox to draw pictures
It sounds like your PDE Toolbox installation is corrupt. Try reinstalling, and issue this command: rehash toolboxcache I...

más de 9 años hace | 1

| aceptada

Respondida
Optimizing GRNN with Genetic Algorithm?
You are confusing the data and the control variables. Control variables are those variables that you want the solver to move in ...

casi 10 años hace | 0

Respondida
How to manually change MaxFunctionEvaluations in fmincon
I think that the short answer to your question is to set the <http://www.mathworks.com/help/optim/ug/fmincon.html#input_argument...

casi 10 años hace | 2

| aceptada

Respondida
How can I save parameter values while using simulated annealing?
You can write an <http://www.mathworks.com/help/gads/simulated-annealing-options.html#bq26j8s-7 output function> that logs thing...

casi 10 años hace | 0

Respondida
How to interpolate PDE solution to cartesian grid
<http://www.mathworks.com/help/pde/ug/interpolatesolution.html interpolateSolution> interpolates your solution to any set of poi...

casi 10 años hace | 0

Respondida
Different a coefficient for each element not possible anymore with solvepde?
Sorry, but to use the latest solvers, I think that you will need to update <http://www.mathworks.com/help/pde/ug/m-d-or-a-coeffi...

casi 10 años hace | 0

Respondida
How does mesh scaling work in Pattern Search
You are free to read the |patternsearch| code to see exactly what is going on. Usually, when you have a poorly scaled problem, y...

casi 10 años hace | 0

| aceptada

Respondida
Nonlinear inequality constraint in Fmincon produces optimized x values only where constraint value equals zero
I am not sure that I understand why you believe that there is a problem with the result. Often, the minimum for a constrained fu...

casi 10 años hace | 0

| aceptada

Respondida
Is there a function for 2D linear elasticity equation ?
Perhaps <http://www.mathworks.com/help/pde/examples/dynamic-analysis-of-a-clamped-beam.html this example> contains the informati...

casi 10 años hace | 0

| aceptada

Respondida
Optimization with Algebraic Modelling Language and MATLAB
Currently, MATLAB does not have modeling language support as a built-in feature. People certainly have created interfaces betwee...

casi 10 años hace | 0

Respondida
Can I use gamultiobj optimization for a problem where the objective functions are not in terms of the decision variables?
Take a look at <http://www.mathworks.com/help/gads/optimize-an-ode-in-parallel.html this example>, which shows how to use an ODE...

casi 10 años hace | 0

| aceptada

Respondida
how to do the exhaustive search?
Perhaps your problem is one of integer values, 0 through 20 for each of your seven variables. If you cannot vectorize your funct...

casi 10 años hace | 1

| aceptada

Cargar más