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

5 views (last 30 days)
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))));

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!