RMS, MEAN - initial input

Currently am designing buck converter and i need to find the the RMS and average values of my waveform.
i found RMS and Mean models. but whenever i key in the initial input, the output the mean or RMS will be initial input values.
can someone guide me along

Answers (1)

Sabin
Sabin on 20 Dec 2022

0 votes

This seems to be a parameterization issue. It must be ensured that one cycle of simulation has completed to get the correct results. The block uses a running average window. First cycle of the simulation the output will be the specified initial condition.

Asked:

on 8 Apr 2015

Answered:

on 20 Dec 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!