inline这个函数是什么意思?
inline这个函数是什么意思?怎么使用?回复:(fuhongsun)inline这个函数是什么意思?
INLINE Construct INLINE object.<BR> INLINE(EXPR) constructs an inline function object from the<BR> MATLAB expression contained in the string EXPR.The input<BR> arguments are automatically determined by searching EXPR<BR> for variable names (see SYMVAR). If no variable exists, 'x'<BR> is used.<BR> <BR> INLINE(EXPR, ARG1, ARG2, ...) constructs an inline<BR> function whose input arguments are specified by the<BR> strings ARG1, ARG2, ...Multicharacter symbol names may<BR> be used.<BR> <BR> INLINE(EXPR, N), where N is a scalar, constructs an<BR> inline function whose input arguments are 'x', 'P1',<BR> 'P2', ..., 'PN'.<BR> <BR> Examples:<BR> g = inline('t^2')<BR> g = inline('sin(2*pi*f + theta)')<BR> g = inline('sin(2*pi*f + theta)', 'f', 'theta')<BR> g = inline('x^P1', 1)
页:
[1]