Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Tutorial request for 2D Animation

2 ビュー (過去 30 日間)
cgo
cgo 2015 年 10 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am new to Matlab.
I have random points in the 2D plane which I can plot using scatter(x,y). Initially, it is easy to do because it is just 'static', points are not doing anything. Now I want the wants to behave according to a rule. For example "repel" from each other if they are within a certain distance, or follow a certain "rule/formula" in their motion. I want to see these motions while it is evolving over time.
Can someone tell me what functions I need? And what keywords do I need to search for a tutorial on this?
Thank you

回答 (1 件)

Thorsten
Thorsten 2015 年 10 月 8 日
google matlab moving dots animation
I've found this quite nice
<http://www.mbfys.ru.nl/~robvdw/DGCN22/PRACTICUM_2011/LABS_2011/ALTERNATIVE_LABS/Lesson_2.html>
it uses the free psychophysics toolbox to display on the whole screen, but you can modify the code to use Matlab's standard functions for display.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by