Clear Filters
Clear Filters


This question is closed. Reopen it to edit or answer.

Calculate cycle time for a signal by code

2 views (last 30 days)
saleh shlimet
saleh shlimet on 25 Jan 2022
Closed: Sabin on 29 Sep 2023
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 Comment
Benjamin Thompson
Benjamin Thompson on 25 Jan 2022
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.

Answers (0)

This question is closed.




Community Treasure Hunt

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

Start Hunting!