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
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
WinPoker 2.02
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
shopping mall management system 1.0
SynaSer Serial Port Library 5.0
sipmethod 1.0
STDF file reader 1.0
Maios 1.0
GetOrgChart 2.5.3
School Management Script 1.0.4
MLM Software 1.0.2
Azizi search engine script PHP 4.1.10
ADO.NET Provider for ExactTarget 1.0
SuperGeek Free Document OCR 2.5.6
Job Portal Script by NCrypted 3.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
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
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.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: 18
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: 18



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