Problem with specifying sampling interval

1 回表示 (過去 30 日間)
Hamid Radmard Rahmani
Hamid Radmard Rahmani 2019 年 3 月 22 日
編集済み: Hamid Radmard Rahmani 2019 年 3 月 22 日
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 Center および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by