当前位置: 首页 > news >正文

网站个人中心设计黄骅港客运站电话号码

网站个人中心设计,黄骅港客运站电话号码,wordpress 入门,中卫平面设计师招聘一、题目#xff1a; 二、实验要求#xff1a; 1、绘制图形时#xff0c;尽量选用已经提供的函数。 2、所有的图形#xff0c;需要加上横坐标、纵坐标以及标题的说明。 3、将设计的程序保存为脚本文件#xff0c;在实验报告中#xff0c;需写出程序语句。 4、Matlab程…一、题目 二、实验要求 1、绘制图形时尽量选用已经提供的函数。 2、所有的图形需要加上横坐标、纵坐标以及标题的说明。 3、将设计的程序保存为脚本文件在实验报告中需写出程序语句。 4、Matlab程序中需要为每段语句添加说明说清每段的任务是什么其中语句执行功能是什么 三、评分标准 用FFT计算其幅度频谱和相位频谱准确3*824抽样信号的波形计算正确3*618原连续信号波形和抽样信号所对应的幅度谱计算正确3*824用IFFT计算时间序列正确3*824图形横坐标、纵坐标以及标题的说明清晰5程序代码注释清晰。5 1.% 已知序列 x [1, 0.5, 0, 0.5, 1, 1, 0.5, 0]; % 计算FFT X fft(x); % 计算IDFT x_reconstructed ifft(X); % 时域序列的DFT图形 figure; subplot(3, 1, 1); stem(0:length(x)-1, x); title(DFT时域序列 x(n)); xlabel(n); ylabel(Amplitude); % 幅度频谱图形 subplot(3, 1, 2); stem(0:length(X)-1, abs(X)); title(幅度频谱); xlabel(Frequency Bin); ylabel(Magnitude); % 相位频谱图形 subplot(3, 1, 3); stem(0:length(X)-1, angle(X)); title(相位频谱); xlabel(Frequency Bin); ylabel(Phase (radians)); % IDFT图形 figure; stem(0:length(x_reconstructed)-1, real(x_reconstructed)); title(IDFT 时域序列); xlabel(n); ylabel(Amplitude); % 已知序列 x [1, 0.5, 0, 0.5, 1, 1, 0.5, 0]; % 采样频率和序列长度 Fs 20; % Hz N_values [8, 32, 64]; for N N_values % 计算FFT X fft(x, N); % 计算幅度谱和相位谱 magnitude_spectrum abs(X); phase_spectrum angle(X); % 幅度频谱图形 figure; subplot(2, 1, 1); stem((0:N-1)*(Fs/N), magnitude_spectrum); title([幅度频谱N num2str(N) ]); xlabel(Frequency (Hz)); ylabel(Magnitude); % 相位频谱图形 subplot(2, 1, 2); stem((0:N-1)*(Fs/N), phase_spectrum); title([相位频谱N num2str(N) ]); xlabel(Frequency (Hz)); ylabel(Phase (radians)); end 2.% 已知连续时间信号 fm 1; % Hz最高有限带宽频率 t_continuous -1:0.001:1; % 时间范围为 -1 到 1 秒取足够细的时间步长 f_continuous sin(2*pi*fm*t_continuous); % 抽样频率 Fs_values [2.5*fm, 2*fm, 0.5*fm]; figure; for i 1:length(Fs_values) Fs Fs_values(i); Ts 1/Fs; % 抽样时间 t_sampled -1:Ts:1; % 抽样信号波形 f_sampled sin(2*pi*fm*t_sampled); % 绘制原连续时间信号波形 subplot(length(Fs_values), 1, i); plot(t_continuous, f_continuous, b-, LineWidth, 1.5); hold on; % 绘制抽样信号波形 stem(t_sampled, f_sampled, r-, LineWidth, 1.5, MarkerSize, 6); title([抽样频率 Fs num2str(Fs) Hz]); xlabel(Time (s)); ylabel(Amplitude); legend(原连续时间信号, 抽样信号); hold off; end % 已知连续时间信号 fm 1; % Hz最高有限带宽频率 t_continuous -1:0.001:1; % 时间范围为 -1 到 1 秒取足够细的时间步长 f_continuous sin(2*pi*fm*t_continuous); % 抽样频率 Fs 2.5*fm; % 选择一个抽样频率 % 抽样时间 Ts 1/Fs; t_sampled -1:Ts:1; % 抽样信号波形 f_sampled sin(2*pi*fm*t_sampled); % 计算原连续信号的幅度谱 f_continuous_spectrum abs(fft(f_continuous)); frequencies_continuous linspace(0, 1/(2*mean(diff(t_continuous))), length(t_continuous)/2); % 计算抽样信号的幅度谱 f_sampled_spectrum abs(fft(f_sampled)); frequencies_sampled linspace(0, Fs, length(t_sampled)/2); % 绘制原连续信号的幅度谱 figure; subplot(2, 1, 1); plot(frequencies_continuous, 2/length(t_continuous) * f_continuous_spectrum(1:length(t_continuous)/2), b-, LineWidth, 1.5); title(原连续信号幅度谱); xlabel(Frequency (Hz)); ylabel(Magnitude); % 绘制抽样信号的幅度谱 subplot(2, 1, 2); stem(frequencies_sampled, 2/length(t_sampled) * f_sampled_spectrum(1:length(t_sampled)/2), r-, LineWidth, 1.5, MarkerSize, 6); title(抽样信号幅度谱); xlabel(Frequency (Hz)); ylabel(Magnitude); 3.% 给定频谱 w linspace(0, 2*pi, 1000); % 频率范围 X_w 2 4*exp(-1j*w) 6*exp(-2j*w) 4*exp(-3j*w) 2*exp(-4j*w); % 频域抽样点数 N_values [3, 5, 10]; figure; for i 1:length(N_values) N N_values(i); % 选择前N个频谱样本 X_N X_w(1:N); % 使用IFFT计算时域信号 x_n ifft(X_N, N); % 绘制时域信号波形 subplot(length(N_values), 1, i); stem(0:N-1, real(x_n), r-, LineWidth, 1.5, MarkerSize, 6); title([时域信号 N num2str(N)]); xlabel(n); ylabel(Amplitude); end
http://www.zqtcl.cn/news/298699/

相关文章:

  • 湖南城乡建设厅网站青岛网站推广招商
  • 网站备案信息加到哪里国际要闻军事新闻
  • 商河县做网站公司如何仿制国外网站
  • 网站如何跟域名绑定唐山正规做网站的公司哪家好
  • 网站建设wang.cdwordpress文章链接插件
  • 本地进wordpress后台搜索优化师
  • 网站备案证书下载失败法国 wordpress
  • 海南平台网站建设企业优秀的设计案例
  • 拿别的公司名字做网站合肥网页设计培训班
  • 到哪个网站做任务太原百度seo优化推广
  • 北京外贸网站开发广东智慧团建系统入口
  • 做百度网站接到多少客户电话阿里云服务器win系统建站教程
  • 天空在线网站建设深圳外贸网站怎么建
  • 网站的交流的功能怎么做小商品网站建设
  • 求职招聘网站建设投标书怎样在手机上面建设网站
  • 重庆工厂网站建设备案域名出售平台
  • 免费网站优化校园电商平台网站建设
  • 宁波市住房和城乡建设局网站成都网站建设网站制作
  • 网站制作还花钱建设银行网站查询密码是啥
  • 周到的做pc端网站产品图册设计公司
  • 淘宝客新增网站网页设计板式类型
  • 怎么使用wordpress建站吃什么补肾气效果好
  • 建设网站中期wordpress做分类信息网站
  • 百色住房和城乡建设部网站江苏交通建设监理协会网站
  • 常州网站建设哪儿好薇有哪些做外贸网站
  • ip域名找网站一级域名和二级域名的区别
  • 手机网站 底部菜单网站切换效果
  • 珠海公司做网站wordpress最近访客
  • 网站设计制作合同html5网页制作源代码
  • 长春网站建设方案咨询朝阳网站建设是什么