- 积分
- 5570
- 回帖
- 0
- 西莫币
-
- 贡献
-
- 威望
-
- 存款
-
- 阅读权限
- 120
- 最后登录
- 1970-1-1
该用户从未签到
|
发表于 2009-5-6 01:08
|
显示全部楼层
来自: 美国
v11有3个参数,v12只有两个参数
v11帮助:
The following intrinsic functions are accepted in expressions:
if (conditional_expression, true_expression, false_expression),
pwlx (variable, form_expression, dataset_expression),
pwly (variable, form_expression, dataset_expression),
sign (returns sign of argument), abs, exp, pow, ln (natural logarithm),
log (log to the base 10), lg (log to the base 2), sqrt, floor, ceil,
round, rand (returns a random number between 0 and 1), deg, rad,
sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh.
Dataset expressions are expressions of the form:
dset((x0, y0), ..., (xn, yn))
These expressions may be used as the third parameter to pwlx and pwly
functions, and may also be assigned to variables, in which case the
variable may be used as the third parameter to pwlx and pwly functions.
Piecewise linear functions accept a form_expression as their second
parameter, which is either: bounded, constant, periodic, linear, or an
expression that evaluates to a number 1 through 4 (1 = bounded,
2 = constant, 3 = periodic, 4 = linear). The pwlx function interpolates
along the x axis and returns a corresponding y value. The pwly function
interpolates along the y axis and returns a corresponding x value.
All trigonometric functions expect their arguments to be in degrees,
and inverse trigonometric functions' return values are in degrees.
Note that "pi" is a built-in constant, and may not be reassigned.
Intrinsic function names are reserved, and may not be used as variables.
k等于PHI的横坐标
--不是这样的
--你的这个pwlx(X,linear,PHI)的意思是,PHI是个二维表格,有两列
--pwlx(X,linear,PHI)的值是查PHI这个二维表格得来的,具体的值是0,那是因为X=0
--你肯定是在PHI里面定义了0 0这样的行 |
|