pwGetDataSet


 dataSet = pwGetDataSet(matrix, colNames, ID)

 Returns a minimal data struct which can be added to a model
 using pwAddData(dataSet).

 

Arguments for pwGetDataSet

 matrix     Numeric matrix  Rows correspond to time points
                             Columns correspond to the given column names
 colNames   String array     Column names
 ID         String           ID of the data set

 

Description

 One column name of the matrix should have the prefix 'xCol-'
 corresponding to the independent column, usually time.
 (The 'x' should not be mistaken with the internal variables
 of the dynamic system x.)

 

Example

 Two observables and ten time points.

 colNames = {'xCol-Time-min', 'pErk', 'pMek'};
 matrix = zeros(10, 3);
 t = 1:10;
 matrix(:,1) = t;
 matrix(:,2) = exp(-t*0.1);
 matrix(:,3) = exp(-t*0.05);
 ID = 'Simulated MAPK data';
 dataSet = pwGetDataSet(matrix, colNames, ID);

See also

pwAddData