PRTools Contents

PRTools User Guide

circle2d

CIRCLE2D

Generate circle dataset

    A = CIRCLE2D(N,S,TYPE)

Input
 N Number of points to be generated. Default N = 100;
 S Width (in case TYPE is 'uniform') or standard deviation (in case
 TYPE is 'normal'). Default S = 0.1.
 TYPE String with distribution type: 'u' (default) or 'uniform' for a  uniform distribution, 'n' or 'normal' for a normal distribution.

Output
 A Nx2 matrix op 2D points

Description

Either a uniform 2D circle of width S is generated (0 <= S <= 1) with  outer radius one, or a unit circle with normally distributed points  perpendicular to it. In this case S might be larger than one.

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.