MERGESETS |
Merges data sets to one labeled data file.
Synopsis:
mergesets(DirName,OutputFile)
Description:
It loads data files from given directory DirName and
merges them to one labeled data file. The individual files
are assumed to contain the field X [dim x num_data].
The file names have to have the following format
name_xxx.mat ('_' can be omitted), where xxx denotes an
integer which is used to label the data X from the given
file. The OutputFile contains item X [dim x num_all_data]
with all merged data and vector of labels y [1 x num_all_data].
Input:
DirName [string] Input directory.
OutputFile [string] Output data file.
Output:
file OutputFile with items:
X [dim x num_all_data] Data matrix.
y [1 x num_all_data] Labels of data.
(c) 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:
9-sep-2003, VF