- 积分
- 31
- 注册时间
- 2002-10-31
- 仿真币
-
- 最后登录
- 1970-1-1
|
发表于 2002-12-5 19:50:35
|
显示全部楼层
来自 陕西西安
回复: 【求助】怎么输入这个函数?
点MOTION图标,右键,MODIFY就行。
另外所有函数说明在ADAMS/HELP里都有。如HELP 可从
AVIEW->HELP->ON LINE GUIDE-出来ROAD MAP TO ADAMS DOCUMENTATION->选PRODUCT GUIDES->VIEW->USING THE FUNCTION BUILDER->INDEX->-IJ->IF
----
IF
Definition Allows you to conditionally define a function expression.
Note: Using the IF function will likely cause discontinuities in the
derivatives of the function evaluation, which can cause the
integrator to decrease the time step size or fail. We recommend
that you use the STEP function instead of the IF.
Format IF(Expression1: Expression2, Expression3, Expression4)
Arguments Expression1
The expression ADAMS evaluates.
Expression2
If the value of Expression1 is less than 0, IF returns Expression2.
Expression3
If the value of Expression1 is 0, IF returns Expression3.
Expression4
If the value of Expression1 is greater than 0, IF returns
Expression4.
Using the ADAMS/View Function Builder
Run-Time Functions
611
Example In the following illustration, the expression returns different values
depending on the value of the variable called time:
See Also Overview of Constants & Variables, 535
Function IF(time-2.5:0,0.5,1)
Result 0.0 if time < 2.5
0.5 if time = 2.5
1.0 if time > 2.5
//1 2 3 0//该行错误,应要求删除
1 .. .
. . . |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
评分
-
1
查看全部评分
-
|