Community Profile

photo

feynman feynman


Last seen: 4 Monate ago
3 total contributions since 2020

feynman feynman's Badges

  • Thankful Level 1

View details...

Contributions in
View by

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

4 Monate ago | 2 answers | 0

2

answers

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

5 Monate ago | 1 answer | 0

1

answer

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

5 Monate ago | 1 answer | 0

1

answer