# rbfDemo

## PURPOSE

Demonstration of rbf networks for regression.

## SYNOPSIS

function rbfDemo( dataType, noiseSig, scale, k, cluster, show )

## DESCRIPTION

     Demonstration of rbf networks for regression.

     See rbfComputeBasis for discussion of rbfs.

     USAGE
      rbfDemo( dataType, noiseSig, scale, k, cluster, show )

     INPUTS
      dataType   - 0: 1D sinusoid
                   1: 2D sinusoid
                   2: 2D stretched sinusoid
      noiseSig   - std of idd gaussian noise
      scale      - see rbfComputeBasis
      k          - see rbfComputeBasis
      cluster    - see rbfComputeBasis
      show       - figure to use for display (no display if == 0)

     OUTPUTS

     EXAMPLE
      rbfDemo( 0, .2, 2, 5, 0, 1 );
      rbfDemo( 1, .2, 2, 50, 0, 3 );
      rbfDemo( 2, .2, 5, 50, 0, 5 );

     See also RBFCOMPUTEBASIS, RBFCOMPUTEFTRS

     Piotr's Image&Video Toolbox      Version 2.0
     Copyright 2012 Piotr Dollar.  [pdollar-at-caltech.edu]
     Please email me if you find bugs, or have suggestions or questions!
     Licensed under the Simplified BSD License [see external/bsd.txt]