Issue link: https://resources.pcb.cadence.com/i/1180526
PSpice A/D User Guide
Measurement expressions
October 2019 811 Product Version 17.4-2019
© 2022 All Rights Reserved.
■ One additional function called MPAVG can also be used. It is
used to find the average Y value between 2 marked points. The
format is:
MPAVG(p1, p2,[<.fraction>])
where p1 and p2 are marked X points and fraction (expressed in
decimal form) specifies the range. The range specified by
[<.fraction>] is centered on the midpoint of the total range. The
default value is 1.
Example:
The marked point expression
MPAVG (x1, x5, .2)
will find the halfway point between x1 and x5 and will calculate the
average Y value based on the 20 percent of the range that is
centered on the halfway point.
Search command syntax
Brackets indicate optional arguments.
You can use uppercase or lowercase characters, because searches
are case independent.
[direction]
forward or backward
The direction of the search. Search commands can specify either a
forward or reverse direction. The search begins at the origin of the
curve.
search [direction] [/start_point/] [#consecutive_points#] [(range_x [,range_y])]
[for]
[repeat:]