Mean block in SIMULINK not behaving as expected

In a SIMULINK file, I used the mean block. I do not know how to interpret the results. Before adding the block, the signal's value is zero. After adding the mean block, the signal's value changes after one cycle as shown below:

 Accepted Answer

I had to change the time step. I assumed by choosing the default value (0), the model's time step will be inherited but I was wrong.

More Answers (0)

Products

Release

R2023a

Community Treasure Hunt

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

Start Hunting!