How to write code for a function x(t), consist of two sine wave with instantaneous frequencies at different time spot as seen in figure below:

2 ビュー (過去 30 日間)
Could any one help me how to write the Matlab code for this function in order to plot the Hilbert spectrum?

採用された回答

Stephan
Stephan 2020 年 10 月 27 日
syms t
y = piecewise((0<t)&(t<=2), sin(2*pi*5*t), (2<t)&(t<=5), sin(2*pi*40*t))
fplot(y)
  2 件のコメント
Jan Ali
Jan Ali 2020 年 10 月 27 日
Thanks a lot Stephan. Any idea for plotting the Hilbert spectrum of y?
Stephan
Stephan 2020 年 10 月 27 日
I dont hve access to the signal processing toolbox - but here is a link that might help:

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHilbert and Walsh-Hadamard Transforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by