About Matlab Code
Mostra commenti meno recenti
I want to ask about matlab's code of this clip >>http://www.youtube.com/watch?v=EbC0eP0Dq9A<<
Step for Algorithm .. 1. fix number of point for random . 2. when it ploted, separate which point in a circle and another out of circle. 3. after point are random finish, calculate ratio in a picture. by Ratio = (Rectangle's areas * all of point in a circle) / number of point for random
Sorry, If I spell grammar wrong..
1 Commento
Techit
il 12 Lug 2011
Risposta accettata
Più risposte (2)
Sean de Wolski
il 12 Lug 2011
0 voti
I think the answer to your question is already answered in the video comments.
9 Commenti
Oleg Komarov
il 12 Lug 2011
Agree
Techit
il 12 Lug 2011
Techit
il 12 Lug 2011
Paulo Silva
il 12 Lug 2011
Sean and Oleg are right, the answer is there and it's easy enough for anyone to replicate the code in just a few simple lines.
Sean de Wolski
il 12 Lug 2011
okay,
help rand
help le
help power
is LITERALLY all you need.
Oleg Komarov
il 12 Lug 2011
Division? (troll)
Sean de Wolski
il 12 Lug 2011
still need the divide though... darn.
Walter Roberson
il 12 Lug 2011
Shouldn't that be
help rdivide
rather than ldivide ?
Sean de Wolski
il 12 Lug 2011
hmmm lt or le? The video says lt, but points on the circumference are part of the circle...
Sean de Wolski
il 12 Lug 2011
Alright - darkness golf
f=@(n)etc
I can do it with 38 characters (lt); 39 (le).
Categorie
Scopri di più su Get Started with MuPAD in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!