%WAVEFORM2 Waveform Database Generator (Version 2) Data Set
%PRTools dataset import from UCI, 5000 objects, 40 features, 3 classes
%
% A = WAVEFORM2
%
%DESCRIPTION
%This command downloads one of the UCI data sets, converts it into PRTools
%format and stores it locally for future use. Consult the related website
%for further information. Please make the appropriate references in
%publications that make use of this dataset.
%
%REFERENCE
%Breiman,L., Friedman,J.H., Olshen,R.A., & Stone,C.J. (1984).
%Classification and Regression Trees. Wadsworth International
%Group: Belmont, California. (see pages 43-49).
%
%SEE ALSO PRTools Guide, UCI Website
function [a,b] = waveform2
% UCI data is Z-compressed. No Matlab command found for uncompressing.
% Load zipped data from PRTools.
url = 'http://prtools.tudelft.nl/prdatasets/waveform-+noise.zip';
a = pr_download_uci('Waveform+Database+Generator+(Version+2)',url);
a = setname(a,'Advanced Waveform Data');