Matlab Database > Probability and Stochastics > Monte Carlo Methods > BALLVOL

Matlab File(s)

Author: Rolf Krause
Institution: University of Bonn
Description: Computes the volume of the n-dimensional unit ball using monte-carlo method.

usage: val = BallVol(n, m)
where: n = dimension, m = number of realisations

If the second argument is omitted, 1e4 is taken as default for m.
Keywords: ---
File Name: ballvol.m
File Size: 594 Bytes
File Version: 1.0
Matlab Version: 6.1
Date: 1998-02-22
Downloads: 5197
Download File

Upload your own files today! Click here for more information.