👨🎓个人主页:研学社的博客
💥💥💞💞欢迎来到本博客❤️❤️💥💥
🏆博主优势:🌞🌞🌞博客内容尽量做到思维缜密,逻辑清晰,为了方便读者。
⛳️座右铭:行百里者,半于九十。
📋📋📋本文目录如下:🎁🎁🎁
目录
💥1 概述
短时傅里叶变换(STFT)可用于将频率成分随时间变化的信号转换为时频域。 本文档介绍一个软件包,用于计算短时傅里叶变换,其窗口大小固定在频域(STFT-FD)中。
功能如图所示。1、显示各职能之间的关系。主要功能是test_all_examples,它分析合成信号(在synthetic_signal函数中生成)、两个线性线性啁啾信号(在chirp2_signal函数中生成)和一个心电图信号(加载在ecg_signal函数中)。这三种信号在[1,2]中呈现和分析。可以使用analyze_stft_fd函数通过提议的STFT-FD变换来分析信号。变换是使用几种变体实现计算的,STFT_FD1 基于快速傅立叶变换 (FFT) 的使用,STFT_FD2,直接计算所提出的变换的方程,如 [1,2] 中所述,以及基于 FFT 但具有矩形表示的 STFT-FD3 [3]。信号在时域中使用plot_signal函数表示,在时频域中使用plot_stft_fd函数[1,2](调用get_colormap函数)或在时尺度域中使用plot_stft_fd_scale函数[3]表示。还显示了使用不同方法计算转换所需的计算时间。
📚2 运行结果
部分代码:
function plot_signal(t,x,signal_label)
%Plots the signal in the time domain
%
%Input arguments
% t: time vector
% x: Signal
% signal_label: Signal label indicating the name of the signal
%Create new figure
figure;
%Plot the signal in the time domain
plot(t,x);
%Label the x-axis
xlabel('Time [s]','FontSize',14);
%Label the y-axis
ylabel('x[t]','FontSize',14);
%Set the title to the signal label
title(signal_label);
🎉3 参考文献
部分理论来源于网络,如有侵权请联系删除。
[1] C. Mateo, J.A. Talavera, Short Time Fourier Transform with the Window Size Fixed in the Frequency Domain, Digit. Signal Process. (2017).
[2] C. Mateo, J.A. Talavera, Short Time Fourier Transform with the Window Size Fixed in the Frequency Domain: Implementation, SoftwareX. (2017).
[3] C. Mateo, J.A. Talavera. Bridging the gap between the short-time Fourier transform (STFT), wavelets, the constant-Q transform and multi-resolution STFT. Signal, Image and Video Processing. (2020).