時(shí)頻分析工具箱中提供了計(jì)算各種線性時(shí)頻表示和雙線性時(shí)頻分布的函數(shù),Matlab并不提供直接的繪制時(shí)間-頻率分布圖的命令,而是以時(shí)間-尺度圖代之。不過很多時(shí)候我們要用到時(shí)間-頻率圖來分析信號(hào)!
matlab時(shí)頻分析工具箱安裝方法:
1、首先下載工具箱,下載后解壓放在matlab的toolbox工作路徑下TFTB文件夾。
2、打開matlab,選擇File- Set Path- Add with Subfolders-你剛才下載的工具箱(package_emd)點(diǎn)進(jìn)去- Save- Close。
3、此時(shí)選擇work下package_emd文件夾作為工作路徑,即是C:\Program Files\MATLAB\R2010a\toolbox\TFTB 。
4、在Command Window里面輸入mex -setup回車,問是否選擇已有的編譯器你選y回車,再問選擇哪個(gè)編譯器,你可以選擇C++的那個(gè)選擇相應(yīng)的編號(hào)(如 2)回車,然后讓你核對(duì)是否選擇對(duì)了編譯器等等,你輸入y回車。就安裝成功了
mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2010a\sys\lcc
[2] Microsoft Visual C++ 6.0 in C:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio
Are these correct [y]/n? y
Trying to update options file: C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\R2010a\mexopts.bat
From template: C:\PROGRA~1\MATLAB\R2010a\bin\win32\mexopts\msvc60opts.bat
Done . . .
**************************************************************************
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
http://www.mathworks.com/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9
Building with the -largeArrayDims option enables the new API.
**************************************************************************
至此,安裝成功 !
信號(hào)產(chǎn)生函數(shù):
amexpo1s 單邊指數(shù)幅值調(diào)制信號(hào)
amexpo2s 雙邊指數(shù)幅值調(diào)制信號(hào)
amgauss 高斯幅值調(diào)制信號(hào)
amrect 矩形幅值調(diào)制信號(hào)
amtriang 三角形幅值調(diào)制信號(hào)
fmconst 定頻調(diào)制信號(hào)
fmhyp 雙曲線頻率調(diào)制信號(hào)
fmlin 線性頻率調(diào)制信號(hào)
fmodany 任意頻率調(diào)制信號(hào)
fmpar 拋物線頻率調(diào)制信號(hào)
fmpower 冪指數(shù)頻率調(diào)制信號(hào)
fmsin 正弦頻率調(diào)制信號(hào)
gdpower 能量律群延遲信號(hào)
altes 時(shí)域Altes信號(hào)
anaask 幅值鍵移信號(hào)
anabpsk 二進(jìn)制相位鍵移信號(hào)
anafsk 頻率鍵移信號(hào)
anapulse 單位脈沖信號(hào)的解析投影
anaqpsk 四進(jìn)制相位鍵移信號(hào)
anasing Lipscjitz 奇異性
anaste 單位階躍信號(hào)的解析投影
atoms 基本高斯元的線性組合
dopnoise 復(fù)多普勒任意信號(hào)
doppler 復(fù)多普勒信號(hào)
klauder 時(shí)域Klauder小波
mexhat 時(shí)域墨西哥帽小波
二、噪聲產(chǎn)生函數(shù)
noiseecg 解析復(fù)高斯噪聲
noiseecu 解析復(fù)單位高斯噪聲
tfrgabor Gabor表示
tfrstft 短時(shí)傅立葉變換
ifestar2 使用AR(2)模型的瞬時(shí)頻率估計(jì)
instfreq 瞬時(shí)頻率估計(jì)
sqrpdlay 群延遲估計(jì)
模糊函數(shù)
ambifunb 窄帶模糊函數(shù)
ambifuwb 寬帶模糊函數(shù)
Affine類雙核線性時(shí)頻處理函數(shù)
tfrbert 單式Bertrand分布
tfrdfla D-Flandrin分布
tfrscalo 尺度圖
tfrspaw 平滑偽Affine類Wigner分布
tfrunter Unterberger分布
五、Cohen類雙核線性時(shí)頻處理函數(shù)
tfrbj Born-Jordan分布
tfrbud Butterworth分布
tfrcw Choi-Williams分布
tfrgrd 歸一化的矩形分布
tfrmh Margenau-Hill分布
tfrmhs Margenau-Hill頻譜分布
tfrmmce 譜圖的最小平均互熵組合
tfrpage Page分布
tfrwv 偽Wigner-Ville分布
tfrri Rihaczek分布
tfrridb 降低交叉項(xiàng)的分布(Bessel窗)
tfrridbn 降低交叉項(xiàng)的分布(二項(xiàng)式窗)
tfrridh 降低交叉項(xiàng)的分布(漢寧窗)
tfrridt 降低交叉項(xiàng)的分布(三角窗)
tfrsp 譜圖分布
tfrspwv 平滑偽Wigner-Ville分布
tfrwv Wigner-Ville分布
tfrzam Zhao-Atlas-Marks分布
六、其他處理函數(shù):
friedman 瞬時(shí)頻率密度
htl 圖像直線檢測(cè)中的Hough變換
margtfr 時(shí)頻表示的能量
momftfr 時(shí)頻表示的頻率矩
momttfr 時(shí)頻表示的時(shí)間矩
renyi Renyi信息度量
ridges 波峰提取
plotifl 繪制歸一化的瞬時(shí)頻率規(guī)律
tfrparam 返回用于顯示時(shí)頻表示的參數(shù)
tfrqview 時(shí)頻表示的快速可視化
tfrsave 保存時(shí)頻表示的參數(shù)
tfrview 時(shí)頻表示的可視化