S变换画图
The S -transform with windows of arbitrary
and varying shape
想画如上的三张图,可是问题
(1)滤波窗口的平滑实现
The filter (applied to the full 200£400 S-transform matrix)
is constructed in Matlab by constructing a two-dimensional
“boxcar”, using
filter = zeros(200,400);
filter(69:128,180:240)=1;
The filter edges are then smoothed by setting the value of
each pixel equal to the average of its four adjacent pixels (this
procedure is repeated 100 times).
(2)S变换中的频率与短时傅里叶变换频率怎么对应
我画出来的频率不太对。。边缘也还没处理。。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | clear all % x1=readEIS('35006_6_2121_秒.txt'); % x=x1(:,2); x1= load ( 'qzh_3.txt' ); % x=qzh_3; points= length (x1); figure subplot (211), plot (0:0.02:0.02*(points-1),x1); title ( '原始信号' ); grid on; [st_matrix,st_times,st_frequencies] = st(x1) ; % imagesc(st_times,st_frequencies,abs(st_matrix)) % imcontour(abs(st_matrix)) ST= abs (st_matrix); filter = zeros (1501,3000); filter (100:800,900:1400)=1; STF=ST.* filter ; STF(STF==0) = NaN ; subplot (212),h= imagesc (STF); %其中C为包含有nan的数据 set (h, 'alphadata' ,~ isnan (STF)) ylim ([0 1000]) % set(gca, 'ydir', 'reverse'); colorbar colormapeditor |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core内存结构体系(Windows环境)底层原理浅谈
· C# 深度学习:对抗生成网络(GAN)训练头像生成模型
· .NET 适配 HarmonyOS 进展
· .NET 进程 stackoverflow异常后,还可以接收 TCP 连接请求吗?
· SQL Server统计信息更新会被阻塞或引起会话阻塞吗?
· 本地部署 DeepSeek:小白也能轻松搞定!
· 传国玉玺易主,ai.com竟然跳转到国产AI
· 自己如何在本地电脑从零搭建DeepSeek!手把手教学,快来看看! (建议收藏)
· 我们是如何解决abp身上的几个痛点
· 如何基于DeepSeek开展AI项目