You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rbfDemo.m
    path of file: ./repos/toolbox/classify
    
    the code of the file until where you have to start completion: function rbfDemo( dataType, noiseSig, scale, k, cluster, show )
% 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       - fi
    
function [X,y] = rbfToyData( N, noiseSig, dataType )
% Toy data for rbfDemo.
%
% USAGE
%  [X,y] = rbfToyData( N, noiseSig, dataType )
%
% INPUTS
%  N          - number of points
%  dataType   - 0: 1D sinusoid
%               1: 2D sinusoid
%               2: 2D stretched sinusoid
%  noiseSig   - std of idd gaussian noise
%
% OUTPUTS
%  X          - [N x d] N points of d dimensions each
%  y          - [1 x N] value at example i

%%% generate data
if( dataType==0 )
  X = rand( N, 1 ) * 10;
  y = sin( X );
elseif( dataType==1 )
  X = rand( N, 2 ) * 10;
  y = sin( X(:,1)+X(:,2) );
elseif( dataType==2 )
  X = rand( N, 2 ) * 10;
  y = sin( X(:,1)+X(:,2) );
  X(:,2) = X(:,2) * 5;
else
  error('unknown dataType');
end