MATLAB Function Reference
  Go to function:
    Search    Help Desk 
data     Methods    See Also

Creator of the data class

Syntax

Description

data creates an empty data object.

data(d) clone the data object or fix a broken data object from its struct form.

data(ndata,sdata,labels,variables,svariables) create a data object. ndata are the numerical data (each piece of data is on a different line), sdata [cell] are the symbolic data (each piece of data is on a different line). labels is a column vector of the labels (optional) corresponding to each piece of data. variables [cell], are the names of the columns of the numerical data. svariables [cell] are the names of the columns of the symbolic data.

data(datafile,variables,svariables) create a data object from a mat datafile. datafile is the name of the mat file where the data are saved. The file must contain a series of variables referenced by variables[cell] for the numerical variables and svariables[cell] for the symbolic data. Each of this variable must be a column vector([double] or [cell]) of length equal to the number of data points.

Methods

See Also



[ Help Desk ]