1 function res = eval_coefficients(funcs, model)
2 %
function res = eval_coefficients(funcs, model)
3 % Concatenation of multiple parametric coefficient evaluations.
5 % Multiple parametric coefficients are evaluated at the same
6 % argument. The result vectors are concatenated. This
function is
10 % funcs: cell array containing
function handles corresponding to
11 % parametric coefficients.
12 % model: structure which is used as input
for the coefficient
16 % res: column vector of all coefficient evaluations.
18 res_tmp = cell(1, length(funcs));
20 for q = 1:length(funcs)
22 res_tmp{q} = funcs{q}(model);
23 res_tmp{q} = res_tmp{q}(:)
';