Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


'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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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, ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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; ...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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) ...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort