File Exchange

image thumbnail

multicomet

version 1.1.0.0 (1.83 KB) by Ben Dichter
Does the same thing as comet, but with multiple trajectories at once

8 Downloads

Updated 19 Jul 2013

View Version History

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

Cite As

Ben Dichter (2021). multicomet (https://www.mathworks.com/matlabcentral/fileexchange/42305-multicomet), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Litalo

Hi, thanks alot! , one Q - how to control the speed of the moving particle? (i have long vectors (100,000) and want it to be faster....

Nathan Wolfe

Zhiyu Xiao

Hi, I wonder how to call the function and display the tail?

Babak Haghpanah

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

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

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!