Problem with specifying sampling interval

1 visualización (últimos 30 días)
Hamid Radmard Rahmani
Hamid Radmard Rahmani el 22 de Mzo. de 2019
Editada: Hamid Radmard Rahmani el 22 de Mzo. de 2019
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?

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by