当前位置: 首页> 财经> 金融 > 电子商务公司的经营范围_汕头网站制作网页_西安seo关键词排名优化_深圳网络营销和推广方案

电子商务公司的经营范围_汕头网站制作网页_西安seo关键词排名优化_深圳网络营销和推广方案

时间:2025/7/10 14:26:52来源:https://blog.csdn.net/u013600306/article/details/144446951 浏览次数:0次
电子商务公司的经营范围_汕头网站制作网页_西安seo关键词排名优化_深圳网络营销和推广方案

MATLAB中没有DTFT函数,计算机不可能给出连续结果,可以只能利用DFT的fft函数来实现。
在这里插入图片描述

在这里插入图片描述

%%
L = 7;
x = ones(1, L)
figure; tiledlayout(2,3,"TileSpacing","tight")
nexttile; stem([0:L-1],x)
box off
title([num2str(L),' points rectangular pulse'])
axis tight
%%
X = fft(x);
nexttile; plot([0:L-1],abs(X),'o-')
box off
title([num2str(L),' points DFT'])
axis tight
%%N = 256;
X = fft(x, N);
nexttile; plot([0:N-1],abs(X),'.')
title('256 points DFT')box off
axis tight
%%
nexttile; plot([0:N-1],abs(fftshift(X)),'.')
title('256 points zero-centered DFT')
box off
axis tight%%
w = 2*pi * (0:(N-1)) / N;w2 = fftshift(w);
% plot(w2)w3 = unwrap(w2 - 2*pi);
% plot(w3)
nexttile; plot(w3, abs(fftshift(X)))
axis tight
xlim([-pi, pi])
xticks([-pi:pi:pi])
xticklabels({'-\pi',0,'\pi'})
xlabel('radians')
title('plot DTFT the normalized angular frequency')
box off%%
nexttile; plot(w3/pi, abs(fftshift(X)))
axis tight
xlim([-1, 1])
xlabel('radians / \pi')
title('plot DTFT using normalized frequency')box off

unwarp函数
在这里插入图片描述

关键字:电子商务公司的经营范围_汕头网站制作网页_西安seo关键词排名优化_深圳网络营销和推广方案

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: