CREATEDATA

Interactive data generator.



 Synopsis:
  createdata
  createdata('finite')
  createdata('finite',num_classes)
  createdata('gauss')
  createdata('gauss',num_distrib)

 Description:
  createdata or createdata('finite') invokes an interactive generator 
  of finite point sets in 2D. The generated points can be assigned 
  into two classes (1,2). The generator saves data to a 
  specified file. The file has the following fields:
   X [2 x num_data] 2D vectors.
   y [1 x num_data] Assigned labels.

  createdata('finite',num_classes) when num_classes is specified
   then the points can be assigned labels from 1 to num_classes.
  
  createdata('gauss') invokes an interactive generator of 
   Gaussian distributions. A user can specify mean vector and
   covariance matrix. The generator saves data to a file
   having the following fields:
    Mean [2 x ncomp] Mean vectors.
    Cov [2 x 2 x ncomp] Covariance matrices.
    y [1 x ncomp] Assigned labels.

  createdata('gauss',num_classes) when num_classes is specified
   then the distributions can be assigned labels from 1 to num_classes.
  
  The data generator is controlled by mouse:
    Left button  ... creates a new point or Gaussian.
    Right button ... erases the focused point or Gaussian.

  In the case of generating Gaussians left button double-click makes
  selected Gaussian focused. The covariance matrix of focused 
  Gaussian can be modified.


Source: createdata.m

About: Statistical Pattern Recognition Toolbox
(C) 1999-2003, Written by Vojtech Franc and Vaclav Hlavac
Czech Technical University Prague
Faculty of Electrical Engineering
Center for Machine Perception

Modifications:
01-may-2004, VF
13-Feb-2003, VF