Risposto
How to put a title on a colorbar?
Alternatively, hcb=colorbar; hcb.Title.String = "A Title"; Among the properties of "hcb" there is "Title", which is a Text da...

oltre 2 anni fa | 2

Domanda


Understanding why GA's penalty profile is so similar for any run
I am running a genetic algorithm with only nonlinear inequality constraints. The solutions is an array of "nvars" integers that ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


"Failure in initial user-supplied nonlinear constraint function evaluation" in a ga() with integer variables and non-linear inequality constraints
(Edit: Please read answers/comments before pointing out code mistakes.) I am trying to run a GA where the solutions are an arra...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to show a seconds plot axis ticks as hh:mm
[Edited to clarify that X is a 2x2, part of a meshgrid.] Assume the data for the x-axis is duration in seconds, in both directi...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Extra independent component in ode integration affects other components
I am trying to understand how the ode functions in MATLAB work. In this case, I am running an ode45 or ode113 with a state that...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Order of elements inside sqrt/exponentiation changes ode output
I am running a code that runs an ode in which the equations of motion are exactly the same for both cases (except the line where...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Ways to shade points-delimited area or smooth the edge
Hi, I have a plot created from a bunch of points, that looks like this: The code looks like this: for k = 1:size(Points,1) ...

circa 3 anni fa | 1 risposta | 0

1

risposta