File Exchange

image thumbnail

multicomet

version 1.1 (1.83 KB) by

Does the same thing as comet, but with multiple trajectories at once

11 Downloads

Updated

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Perfect for displaying the time evolution of multiple 2-state dynamical systems

Comments and Ratings (4)

Ben,
Thank you so much for the file!!! I was wondering if the code can be tweaked to show multiple comets with the same y-value at any give time (as opposed to this version where the comet heads are located on a hypothetical vertical line and have the same x-value at any given time)?

Ben Dichter

Glad it was helpful! I am aware of your problem but can't think of an easy way to fix it. I based the function on the MATLAB built-in comet.m so it carries over all of those issues. I'd just use it for rough visualization within MATLAB

Wouter

Wouter (view profile)

Thank you, this has been very useful for making a simulation of the dynamics of vortices in BEC's for my thesis. But I was wondering, is there any way to keep the tails when saving the figure?

Edwin Khoo

Updates

1.1

added a screenshot

MATLAB Release
MATLAB 8.1 (R2013a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today