PSpice User Guide

PSpice User Guide

Issue link: https://resources.pcb.cadence.com/i/1180526

Contents of this Issue

Navigation

Page 170 of 896

PSpice A/D User Guide Preparing a design for simulation October 2019 171 Product Version 17.4-2019 © 2022 All Rights Reserved. IF(t,x,y) x if t is true y otherwise where t is a relational expression using the relational operators shown in Table 3-3 Zero(expression) Expression is evaluated, and the function returns the value as 0 one(expression) ceil(arg) value returned is an integer which is either equal to, or greater than the argument value. argument should be a numeric value or an expression that evaluates to a numeric value Example: ceil(PI)=4 ceil(5)=5 ceil(5.4)=6 floor(arg) value returned is an integer which is either equal to the argument value, or is the nearest integer, smaller than the argument value. the argument should be a numeric value or an expression that evaluates to a numeric value Example: floor(PI)=3 floor(5)=5 floor(5.4)=5 intq(arg) returns 1, if arg in an integer else returns 0 The argument passed to this function can be a numeric value or an expression that evaluates to a numeric value. Table 3-4 Functions in arithmetic expressions, continued This function... Means this...

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide