tests/histval_initval_file/ramst_initval_file_data.m
raw| 1 | x = vertcat([ 1; 1.2 ], repmat(1, 200, 1)); |
| 2 | k = repmat(13, 202, 1); |
| 3 | c = repmat(1.5, 202, 1); |
| 4 | save('ramst_initval_file_data_col_vec_mat.mat','c','k','x'); |
| 5 | |
| 6 | if ispc() |
| 7 | xlswrite('ramst_initval_file_excel',[x k c],1,'A2'); |
| 8 | xlswrite('ramst_initval_file_excel',{'x' 'k' 'c'},1,'A1'); |
| 9 | end |
| 10 | |
| 11 | c=c'; |
| 12 | k=k'; |
| 13 | x=x'; |
| 14 | save('ramst_initval_file_data_row_vec_mat.mat','c','k','x'); |