• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PSpice
  3. Difference between AVG and AVGX functions in PSpice Probe...

Stats

  • Replies 0
  • Subscribers 25
  • Views 9723
  • Members are here 0
More Content

Difference between AVG and AVGX functions in PSpice Probe Window

DesignTech
DesignTech over 3 years ago

When the average power is to be calculated throughout the complete time period of the waveform t, you may use the AVG function AVG(W(t)).

For the moving average of a signal, you may use the function AVGX(W(t), T).

Here, up to time T, running the AVGX function will be the same as running the AVG function. After time T, the AVGX function would give the average value evaluated over the data points falling in the time period T.

For example, imagine that up to T seconds, there are 10 data points in the waveform. Therefore, up to 10 data points, AVGX will be the same as AVG. For the 11th data point, the AVGX function will give the average evaluated over (11-1) =10 data points. Similarly, for the 12th data point, the evaluation will be done over (12-2) data points, which is again equal to 10 data points.

In the following example, T is 10ms. Only after 10ms, AVGX is different from AVG.

Team DesignTech

Cadence Design Systems

  • Sign in to reply
  • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information