Problem with specifying sampling interval

1 次查看(过去 30 天)
in Discrete RMS unit in simulink:
When I specify 1 (as defult) for sampling intervals: the output has 61 data.
When I specify -1, then the output has 6001 data but most of outputs have NEGATIVE sign! (In theory, it is impossible that RMSfunction result in negative value!)
The time of simulation is 60 sec. with 0.01 sampling time. so notmally we have 6001 data.
Why sampling interval = 1 results in having one sample per sec. although it is descrete and it shall out all the input signal.
How to solve that?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by