1 function reduced_data_subset = extract_reduced_data_subset(model, reduced_data)
2 %
function reduced_data_subset = extract_reduced_data_subset(model, reduced_data)
4 % method which modifies reduced_data, which is the data, that will
5 % be passed to the online-simulation algorithm.
6 % Typically,
this routine only does a submatrix extraction of the Mmax, Nmax
7 % sized offline-objects to produce M, N sized objects
for the real simulation.
8 % Required fields of model:
9 % N : number of reduced basis vectors to choose
11 reduced_data_subset = model.reduced_data_subset(model, reduced_data);