View License

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

» Watch video

Highlights from
solar system formation 2d

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0
5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 8 KB File ID: #33878 Version: 1.0
image thumbnail

solar system formation 2d

by

Maxim Vedenyov (view profile)

 

2d balls with friction and gravitations

| Watch this File

File Information
Description

http://simulations.narod.ru/
There are 400 balls in 2d that has finite size and can pass trough each other with friction. At distances more than size they have gravitation forces. Initially system rotated slightly as global. Code well vectorized, bsxfun used.

The result of simulation is here:
http://www.youtube.com/watch?v=JhVeoHtBmkY

It is possible to see sun formation but no planets. Probably because to few points used (not enough computation power).

run test2.m to start simulation and recodring to history file. set history file name in history_viewer_cluster.m and run history_viewer_cluster.m

Required Products MATLAB
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
20 Dec 2012 Emmanouil Daskalakis  

Contact us