|
|
Downloads
- Source code for the Phaser algorithm described in: Estimating the phase of synchronized oscillators by Shai Revzen and John M. Guckenheimer, Physical Review E, 2008
Phaser Source Code
The source code is provided in the phaser-src.zip archive and consists of several source files; the current version was released Jan 14, 2009. It includes an example based on the Hopf oscillator model from the paper. Code was written for MatLab 6.5 rev 13 and should work with newer version of MatLab.
To use this code, unzip in a directory and change current directory (via gui or the cd command) into it in MatLab. Alternatively, you can add the code to your MatLab search path. Further details and license information are found in the README and LICENSE files in the archive.
Free Tools
In our lab we use MatLab in Windows, Linux and Mac OS-X environments. Here are several tools developed by lab members that others might find useful. These are provided free, as-is, and with no warrenty. Unless otherwise specified, no copyrights are reserved by the authors of any of these tools.
- MatLab syntax highlight mode for the jEdit text editor jEdit. (by Shai Revzen)
- MatLab support for exuberant ctags, which allows most unix based editors (Emacs, Vi, jEdit, mp...) to parse some of the structure in MatLab source code. In jEdit is allows plugins such as "code browser" and "sidekick" to show all the internal functions defined in a source file and let you jump to them. (By Shai Revzen)
Installing MatLab mode for jEdit
These instructions apply to Linux and Mac OS-X. Users of other OS-s should be able to use this mode, but will have the configuration files in a different location.
jEdit modes are defined in XML files in the .jedit/modes subdirectory. File extensions are associated with mode XML files via the .jedit/modes/catalog file.
If you have a vanilla jEdit 4.1 installation, just copy both catalog and the matlab.xml files into your .jedit/modes directory and everything should work ok.
Otherwise, copy only matlab.xml, -- you will need to edit your catalog file yourself.
Installing MatLab mode for ctags
These instructions apply to Linux and Mac OS-X. Users of other OS-s should be able to use this mode, but will have the configuration files in a different location.
ctags checks /etc/ctags.conf and ~/.ctags for extra configuration information. Just copy the
ctags.conf
file to either of these locations (the first will only work if you are root, and will overwrite the system-wide configuration).
|
|