how to calculate time period a continuous time signal in real time (eg: signal coming from the ADC port of dSPACE controller

5 ビュー (過去 30 日間)
how to calculate time period a continuous time signal in real time (eg: signal coming from the ADC port of dSPACE controller).
I have a real time periodic signal (trapezoidal / triangular depending on the operating conditions). I want to measure the frequency of the signal in real time. I am using a hardware in loop setup and a simulink model.I want to measure the frequency or time period of the signal coming from the ADC block in the simulink model in real time.

採用された回答

hogehoge
hogehoge 2022 年 5 月 13 日
I haven't tried it, but would the following URL's model be helpful?
https://www.mathworks.com/matlabcentral/fileexchange/55456-measure-the-frequency-of-given-input-square-wave

その他の回答 (1 件)

Seng
Seng 2023 年 9 月 27 日
x1(t)=x(2t)

カテゴリ

Help Center および File ExchangeAdditional Math and Discrete についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by