Question


plot style of 'OutputFcn'=odeplot in odeset
The following code can plot the solution of the ode with 'odeplot' rather than using 'plot'. options = odeset('OutputFcn',@odep...

10 mois il y a | 1 réponse | 0

1

réponse

Question


pdepe/pde1dm's vectorized option
In pdepe, when vectorized is turned on, the elapsed time is the same as that when vectorized is off. Why no improvement? The ...

10 mois il y a | 1 réponse | 0

0

réponse

Question


pde1dm with coupled ODEs
According to the pde1dm manual, pde1dm with coupled ODEs has to do with three additional arguments to the pde1dm function: [sol...

10 mois il y a | 1 réponse | 0

1

réponse

Question


ode23, 45, 15s, 15i for conservative ODEs
Which of ode23, 45, 15s, 15i are dissipative or anti-dissipative for conservative ODEs?

10 mois il y a | 1 réponse | 0

1

réponse

Question


pde1dm compared to pdepe
pde1dm is an extended version of pdepe and it can solve equations pdepe can't solve. I wonder about the differences between thes...

10 mois il y a | 2 réponses | 0

2

réponses

Question


Spatial discretization in pdepe compared to others
The spatial discretization in pdepe seems to be a unique one. Could someone please explain it briefly so that it is understandab...

10 mois il y a | 1 réponse | 0

0

réponse

Question


whether meshes affect computational step lengths in pdepe
In pdepe the user specifies an xmesh and tmesh. Do these meshes affect what meshes and computational step lengths adopted by the...

10 mois il y a | 1 réponse | 0

1

réponse

Question


why 'parabolic' and 'hyperbolic' not recommended for solving PDEs
why are 'parabolic' and 'hyperbolic' not recommended for solving PDEs and instead 'solvepde' is recommended? Aren't they all bas...

11 mois il y a | 1 réponse | 0

1

réponse

Question


how to sort dlarrays
How to sort dlarrays like in sort(a) , where a is a numeric array? Is there a way of sorting next(mbq) by specifying some opt...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


'addpoints' animation with a control slider
Somehow making an animation with 'addpoints' enables a control slider for the user to slide back and forth to view the animation...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


input argument order in deep learning functions
For those that have many input arguments, does the order of the input arguments affect the result of the function. For example, ...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


'trainingOptions' without 'trainNetwork' in deep learning
options = trainingOptions("sgdm", Plots="training-progress") sets training options. This setting works when training is implem...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


output extra variables through ode23 when there are multiple unknowns
By writing a function below, one can output extra variable v (other than unknown u): function [ut,v]=myode(t,u) ut=u;v=u+1; ...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


shortest path algorithm based on a recursive function
The following code is correct 90% of the time. Anybody can find the bug? function dis=wrong(node1,nodes,node2) % distance node...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


matlab gets different answers for the same code
for loop=1:10 i12=randperm(n,2); i1=i12(1); i2=i12(2); % i1=2;i2=6; Floyd(i1,i2) Dijkstra(i1,i2) ...

presque 5 ans il y a | 1 réponse | 0

1

réponse