rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
extract_reduced_data_subset.m
1 function reduced_data_subset = extract_reduced_data_subset(model, reduced_data)
2 %function reduced_data_subset = extract_reduced_data_subset(model, reduced_data)
3 %
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
10 
11 reduced_data_subset = model.reduced_data_subset(model, reduced_data);
12 %| \docupdate