How do I simulate the N Oscillator Kuramoto Model with no loop

5 vues (au cours des 30 derniers jours)
matthew choo
matthew choo le 6 Déc 2020
How do I simulate this formula with no loop?
This is what I am doing.
N=10;
theta=0:10;
W=0:10;
dydt=omega+(K/N).*(sin(theta(1)-theta(1))+sin(theta(2)-theta(1))+sin(theta(3)-theta(2))+(sin(theta(4)-theta(1))));

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by