Skip to content
Snippets Groups Projects
Commit a61baadf authored by Martin Karlsson's avatar Martin Karlsson
Browse files

minor change

parent 13a8072c
Branches
No related tags found
No related merge requests found
No preview for this file type
...@@ -22,16 +22,20 @@ int main(int argc, char *argv[]) { ...@@ -22,16 +22,20 @@ int main(int argc, char *argv[]) {
// Initialize original trajectories: // Initialize original trajectories:
double dt = 0.200; // 5 Hz sampling rate, in this example double dt = 0.200; // 5 Hz sampling rate, in this example
mat yDef; //mat yDef;
file2mat("yDef.txt",yDef); //file2mat("yDef.txt",yDef);
cout << yDef << endl; //cout << yDef << endl;
cout << yDef.n_rows << endl; //cout << yDef.n_rows << endl;
cout << "hej" << endl;
mat yDef = ones<mat>(10,3);
cout << "hej" << endl;
mat yCorr = ones<mat>(10,3);
yCorr = yCorr*2;
mat yCorr;
//mat yCorr = file2mat("yCorr.txt"); //mat yCorr = file2mat("yCorr.txt");
cout << "hej" << endl;
//cout << yCorr.n_rows << endl; cout << yCorr.n_rows << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment