淘宝官方店     推荐课程     在线工具     联系方式     关于我们  
 
 

微波射频仿真设计   Ansoft Designer 中文培训教程   |   HFSS视频培训教程套装

 

Agilent ADS 视频培训教程   |   CST微波工作室视频教程   |   AWR Microwave Office

          首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档


Ansoft Designer / Ansys Designer 在线帮助文档:


Designer File Formats >
   Nexxim Netlist Format >
       Expressions >
           Built-In Functions               


Built-In Functions

A built-in function has the format:

function_name(arguments)

Each function has a specified number of arguments and format for entering its arguments. The built-in functions return arithmetic, trigonometric, or Boolean values. Tables 7, 8, and 9 list the built-in functions valid in Nexxim netlist expressions. In tables 5, 6, and 7, arguments x and y can themselves be any expressions.

Table 7: Built-In Arithmetic Functions

Function

Return Value

ABS(x)

Absolute value of x.

CEIL(x)

Returns the smallest integer greater than or equal to x (rounds x toward positive infinity)

DB(x)

(sign of x)*20*log10(abs(x)) [x expressed in deciBels, with the sign of x]

DB_NONINVERTING(x)

20*log10(abs(x)) [x expressed in deciBels]

EXP(x)

ex

FLOOR(x)

Returns the largest integer less than or equal to x (rounds x toward negative infinity)

FMOD(x,y)

x -i *y for some integer i, such that if y is non-zero the result has the same sign as x and magnitude less than y.

IMAG_PART(x)

Imaginary part of complex value x. IMAG(x) is an alias.

INT(x)

Integer portion of x

LOG(x)

loge(x), error if x0

LOG10(x)

log10(x), error if x0

MAX(x,y)

x if x > y, y if y x

MIN(x,y)

x if x < y, y if y x

NINT(x)

Rounds x up or down to nearest integer. A fractional part of .5 is rounded UP to the nearest integer. NINT(-1.5) is -1 and NINT(1.5) is 2.

PHASE_D(x)

Phase of complex value x in degrees

PHASE_R(x)

Phase of complex value x in radians

POW(x,y)

xy

PWR(x,y)

SGN(x)|x|y

REAL_PART(x)

Real part of complex value x. REAL(x) is an alias.

SIGN(x,y)

abs(x) if y 0

-abs(x) if y < 0

SGN(x)

-1 if x < 0, 0 if x = 0, 1 if x > 0

SQRT(x)

Positive square root of x

 

[spacer]

Table 8: Built-In Trigonometric Functions

Function

Return Value

ACOS(x)

Inverse cosine of x in radians

ASIN(x)

Inverse sine of x in radians

ATAN(x)

Inverse tangent of x in radians

ATAN2(x,y)

For any real arguments (x, y) not both zero, the angle in radians between the positive X-axis and the point (x, y). The angle is positive for y > 0 and negative for y < 0.

COS(x)

Cosine of x in radians

COSH(x)

Hyperbolic cosine of x in radians

HYPOT(x,y)

SQRT(x**2 + y**2)

SIN(x)

Sine of x in radians

SINH(x)

Hyperbolic sine of x in radians

TAN(x)

Tangent of x in radians

TANH(x)

Hyperbolic tangent of x in radians

 

[spacer]

Table 9: Built-In Boolean Functions

Function

Return Value

IS_EQUAL(x,y)

1 if x is equal to y, 0 otherwise

IS_NOT_EQUAL(x,y)

1 if x is not equal to y, 0 otherwise

IS_GREATER(x,y)

1 if x is greater than y, 0 otherwise

IS_GREATER_EQUAL(x,y)

1 if x is greater than or equal to y, 0 otherwise

IS_LESS(x,y)

1 if x is less than y, 0 otherwise

IS_LESS_EQUAL(x,y)

1 if x is less than or equal to y, 0 otherwise




HFSS视频教学培训教程 ADS2011视频培训教程 CST微波工作室教程 Ansoft Designer 教程

                HFSS视频教程                                      ADS视频教程                               CST视频教程                           Ansoft Designer 中文教程


 

      Copyright © 2006 - 2013   微波EDA网, All Rights Reserved    业务联系:mweda@163.com