{"id":30117245,"url":"https://github.com/pabrod/synchronization","last_synced_at":"2026-02-08T09:06:15.390Z","repository":{"id":90018699,"uuid":"143011243","full_name":"PabRod/synchronization","owner":"PabRod","description":"Some numerical tools around the concept of synchronization","archived":false,"fork":false,"pushed_at":"2018-08-22T14:47:06.000Z","size":865,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T10:41:41.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Matlab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PabRod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-07-31T12:29:17.000Z","updated_at":"2018-08-22T14:47:07.000Z","dependencies_parsed_at":"2023-03-17T19:00:29.717Z","dependency_job_id":null,"html_url":"https://github.com/PabRod/synchronization","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PabRod/synchronization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabRod%2Fsynchronization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabRod%2Fsynchronization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabRod%2Fsynchronization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabRod%2Fsynchronization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabRod","download_url":"https://codeload.github.com/PabRod/synchronization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabRod%2Fsynchronization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29225757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T06:05:31.539Z","status":"ssl_error","status_checked_at":"2026-02-08T05:58:33.853Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-10T10:38:31.408Z","updated_at":"2026-02-08T09:06:15.385Z","avatar_url":"https://github.com/PabRod.png","language":"Matlab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nThis repository contains some pieces of code inspired by the reading of _Sync, by Steven Strogatz_.\n\n# Author\n- Pablo Rodríguez-Sánchez\n- https://pabrod.github.io\n- Wageningen University and Research.\n\n# Content\n\n## kuram\nclass representing a Kuramoto system of oscillators\n\n### Examples\n\n#### Construction\n```\nN = 100; % Number of oscillators\nqs = linspace(0, 2*pi, N); % Initial states\nws = 5 + 2.*randn(N, 1); % Initial frequencies\n\n% Coupling parameters\nK = 7;\nr = 1;\n\n% Object construction\nkur = kuram(qs, ws, K, r);\n```\n\n#### Plotting\n```\nfigure;\nkur.plot(); % Plot states\nhold on;\nkur.plotop(); % Plot order parameter\nhold off;\n```\n\n```\nfigure;\nkur.plotfreq(); % Plot frequencies\n```\n\n```\nts = 0:0.01:1;\nfilename = 'animation.gif'\nkur.animate(ts, filename);\n```\n![](./figs/animation.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpabrod%2Fsynchronization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpabrod%2Fsynchronization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpabrod%2Fsynchronization/lists"}