⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 examp_zak.m

📁 linear time-frequency toolbox
💻 M
字号:
%EXAMP_ZAK  Some Zak-transforms%%   This scripts creates plots of three different Zak-transforms of a%   Gaussian, a spline and a Hermite function%%   FIGURE 1 Gaussian and spline%%     This figure shows the absolute value of the Zak-transform of%     a Gaussian to the left, and a second order spline to the right.%     Notice that both Zak-transforms are 0 in only a single%     point right in the middle of the plot. The spline is constructed%     by sampling and periodization of the continuous second order spline.%%   FIGURE 2 Funny Zaks%%     The left figure shows the absolute value of the Zak-transform of%     a 4th order Hermite function and the left shows a chirp.%     Notice how the Zak transform of the Hermite functions is zero on a%     circle centered on the corner.%%   SEE ALSO:   ZAK, IZAKdisp('Type "help examp_zak" to see a description of how this example works.');% Setup parameters and length of signal% We want critical samplinga=64;L=a^2; % Make a Gaussian functiong=pgauss(L);% Compute the Zak-transform in square layout.zg=zak(g,a);% Visualize itfigure(1);subplot(1,2,1);mesh(abs(zg));legend('off');subplot(1,2,2);mesh(abs(zak(pbspline('ec',L,2,a),a)));legend('off');% Do the same for the Hermite function.figure(2);subplot(1,2,1);mesh(abs(zak(pherm(L,4),a)));legend('off');subplot(1,2,2);mesh(abs(zak(pchirp(L,1),a)));legend('off');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -