Info

此问题已关闭。 请重新打开它进行编辑或回答。

Calculate cycle time for a signal by code

1 次查看(过去 30 天)
saleh shlimet
saleh shlimet 2022-1-25
关闭: Sabin 2023-9-29
I want to calculate the cycle time for a signal (the frequency) by using a code (Matlab function block). For examble, in a motor rotor position the angle changes between 0 and 360 degrees, so the time between two identical values (cycle time) is needed to be calculated
  1 个评论
Benjamin Thompson
Benjamin Thompson 2022-1-25
Need more information. Are you measuring motor speed, or does the motor actually change direction? fft is one way to measure and find a dominant frequency in a signal.

回答(0 个)

此问题已关闭。

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by