matlab希爾伯特變換hilbert


clear
Ts=0.0001;
t=0:Ts:10;
mt=sin(2*pi*t);
subplot(211);plot(t,mt)
title('sin(2*\pi*t)')
axis([0 5 -1.1 1.1]);
grid on
%求m(t)的希爾變換
hilbert_m=hilbert(mt);%利用函數進行希爾伯特變換
hilbert_m=imag(hilbert_m);%虛部為我們所需結果
subplot(212);plot(t,hilbert_m);
title('sin(2*\pi*t)的希爾伯特變換-cos(2*\pi*t)')
axis([0 5 -1.1 1.1]);
grid on


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM