Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
IcrediBB Bulletin Board System 1.0
Vue Injector 3.3
GnuWin64 64
iScripts EasySnaps 1
iScripts EasyIndex 1
iScripts NetMenus 2.0
Password Generator Software 2.3
Put your app in the System Tray 1.1
CardCheck COM DLL for Credit Card Processing 1.1
Azizi search engine script PHP 4.1.10
OpenGl 3D Effect 1.1
Linklok URL
School College ERP 1.3.2
Single Leg MLM 1.2.1
Custom Order Form2 1
Top Rated
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0
File ID: 79363






RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0
Download RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0http://www.advancedmcode.org/poker-predictor-a-free-texas-holdem-odds-and-probability-computer.htmlReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 21
User Rating:1 Stars  (1 rating)
Submit Rating:
RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0 Description
Description: A few days ago I was in need of uniformly random points generation on the surface of sphere. I suddenly discovered that common parametrization with 2 angles is useless, it gathers too many points in the poles. At MathWorld you can find the complete demonstration, here the main lines:

To pick a random point on the surface of a unit sphere, it is incorrect to select spherical coordinates theta and phi from uniform distributions theta in [0,2pi) and phi in [0,pi], since the area element dOmega=sinphidthetadphi is a function of phi, and hence points picked in this way will be d-deDUbunchedd-deDt near the poles (left figure above).

License: Freeware

Related: mathworld, area element, Angles, phi, bunched, Find, coordinates theta, complete demonstration, common parametrization, and hence, 0pi since, points, select spherical, this way will, theta phi, uniform distributions theta, uniformly random points, 02pi an

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 21



More Similar Code

Computes the haversine (great circle) distance in metres between successive points on the surface of the Earth. These points are specified as vectors of latitudes and longitudes.



CYLINDER: A function to draw a N-sided cylinder based on the
generator curve in the vector R. It is based on file exchange 5468. I changed a little bit so that it can generate more points on the surface of the cylinder.



for Lebedev quadratures on the surface of the unit sphere at double precision.
**********Relative error is generally expected to be ~2.0E-14 [1]********
Lebedev quadratures are superbly accurate and efficient quadrature rules for...



This function returns statistics on the intensity of an image, including the sum, mean, standard deviation, min and max. A rectangular region of interest can be selected by the user by using 'r' as the 2nd parameter. Alternatively, the region of...



Displays random psots on the sidebar of your blog, ideal for keeping visitors on your site longer and offering more reading.
Displays random psots on the sidebar of your blog, ideal for keeping visitors on your site longer and offering more...



The Touch Icons module allows site administrators and themers to specify icons for use as Web Clip bookmarks on the homescreen of an iPhone or iPod Touch.

Extra theme settings are provided so that iPhone/iPod Touch icons can be...



Research on the design of an innovative application framework that implement ideas inspired by biological systems.



Calculating Distances between points on the image



The function "mydepfun" determines the dependencies of an
M-file, ignoring files inside the MATLAB "toolbox" directory. Skipping these files gives significant performance improvements over calling "depfun"...



GINPUTPLOT finds points on the 2-D plot nearest to the mouse click

[XI,YI] = GINPUTPLOT(N) gets N points from the current axes and
returns the nearest points on the plot of Y versus X, in length N
vectors XI and YI, where X...

User Review for RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE
- required fields
     

Please enter text on the image