Risposto

GA optimization

Use GAOPTIMSET: <http://www.mathworks.com/products/global-optimization/demos.html?file=/products/demos/shipping/globaloptim/ga...

GA optimization

Use GAOPTIMSET: <http://www.mathworks.com/products/global-optimization/demos.html?file=/products/demos/shipping/globaloptim/ga...

oltre 12 anni fa | 0

Risposto

GA optimization

You can create a function handle to the network and then pass that function handle into GA. Note that GA will pass in a row vec...

GA optimization

You can create a function handle to the network and then pass that function handle into GA. Note that GA will pass in a row vec...

oltre 12 anni fa | 4

| accettato

Risposto

fmincon and normal distribution log likelihood

Hi Jimmy, It looks like the way you have your optimization set up, you're trying to maximize the value of LL. However, all o...

fmincon and normal distribution log likelihood

Hi Jimmy, It looks like the way you have your optimization set up, you're trying to maximize the value of LL. However, all o...

oltre 12 anni fa | 1

Risposto

Convert ODE model in MATLAB to Simulink

Hi Javier, The easiest way I can think of to convert would be to use a Level 2 MATLAB S-function in Simulink. If you've neve...

Convert ODE model in MATLAB to Simulink

Hi Javier, The easiest way I can think of to convert would be to use a Level 2 MATLAB S-function in Simulink. If you've neve...

oltre 12 anni fa | 0

| accettato

Risposto

Multiple outputs from FMINSEARCH function

As long as myfun doesn't take a long time to evaluate, the simplest thing to do would be to call myfun again after the optimizat...

Multiple outputs from FMINSEARCH function

As long as myfun doesn't take a long time to evaluate, the simplest thing to do would be to call myfun again after the optimizat...

oltre 12 anni fa | 0

Risposto

GA is not available in Optimtool

The genetic algorithm is part of the Global Optimization Toolbox, this warning leads me to believe you only have the Optimizatio...

GA is not available in Optimtool

The genetic algorithm is part of the Global Optimization Toolbox, this warning leads me to believe you only have the Optimizatio...

oltre 12 anni fa | 0

Risposto

add optimization plots from fmincon to custom gui axes

I'm guessing that when specifying the options structure, you are including optimplotx as a PlotFcn such as: options = opt...

add optimization plots from fmincon to custom gui axes

I'm guessing that when specifying the options structure, you are including optimplotx as a PlotFcn such as: options = opt...

oltre 12 anni fa | 0

Risposto

meshgrid and griddata usage and NaN results for griddata

The GRIDDATA function is trying to use the data in x,y,vv to fit a surface and then interpolate this surface at the points speci...

meshgrid and griddata usage and NaN results for griddata

The GRIDDATA function is trying to use the data in x,y,vv to fit a surface and then interpolate this surface at the points speci...

quasi 13 anni fa | 0

Risposto

matlab guide tool

Maybe this is what you're looking for? <http://www.mathworks.com/help/techdoc/creating_plots/f7-21193.html>

matlab guide tool

Maybe this is what you're looking for? <http://www.mathworks.com/help/techdoc/creating_plots/f7-21193.html>

oltre 13 anni fa | 0

Risposto

How can I use "dir" with multiple search strings? or join the results of two dir calls?

You can save the output of DIR as a structured array, or in your case two structured arrays that can then be combined: file...

How can I use "dir" with multiple search strings? or join the results of two dir calls?

You can save the output of DIR as a structured array, or in your case two structured arrays that can then be combined: file...

oltre 13 anni fa | 0

Risposto

Converting a problem from Mathematica to MATLAB

George, Looks like there's a problem with this line of code: LastPoint1D = @ (Walk1D) (Walk1D(end)); I believe what y...

Converting a problem from Mathematica to MATLAB

George, Looks like there's a problem with this line of code: LastPoint1D = @ (Walk1D) (Walk1D(end)); I believe what y...

oltre 13 anni fa | 0

Risposto

Plotting multiple sets of data over the same set of discretized locations

Sean, If you're specifying a different intensity for each point, then I assume that you are plotting the data point-by-point an...

Plotting multiple sets of data over the same set of discretized locations

Sean, If you're specifying a different intensity for each point, then I assume that you are plotting the data point-by-point an...

oltre 13 anni fa | 0

Risposto

??? Undefined function or method 'times' for input arguments of type 'function_handle'.

Patrick, I believe that when you make calls to the functions inside of concs, you need to include the arguments for those fun...

??? Undefined function or method 'times' for input arguments of type 'function_handle'.

Patrick, I believe that when you make calls to the functions inside of concs, you need to include the arguments for those fun...

oltre 13 anni fa | 3

| accettato

Risposto

Conditional plotting, changing color of line based on value.

Here's a way to do it that splits the data up into 2 lines and then plots them both. Overlapping points are set to NaN so that ...

Conditional plotting, changing color of line based on value.

Here's a way to do it that splits the data up into 2 lines and then plots them both. Overlapping points are set to NaN so that ...

oltre 13 anni fa | 6