FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
subcoef.m File Reference

Description

SUBCOEF Substitute coefficients from cell array.

[ S_EXPR ] = SUBCOEF( S_EXPR, CCOEF, I_SUBCELL ) Recursively parse the string exptression S_EXPR for matching coefficients in CCOEF. The first column in CCOEF corresponds to the coefficient names and the last to their corresponding expressions. If a coefficient expression consists of a cell array then entry number I_SUBCELL will be used (default 1).