DSP using MATLAB 示例Example3.1 3.2 3.3
上代码:
w = [0:1:500]*pi/500; % [0,pi] axis divided into 501 points. X = exp(j*w) ./ (exp(j*w) - 0.5*ones(1,501));magX = abs(X); angX = angle(X); realX = real(X); imagX = imag(X);set(gcf,'Color','white'); subplot(2,2,1); plot(w/pi,magX); grid on; title('Magnitude Part'); xlabel('frequency in \pi units'); ylabel('Magnitude'); subplot(2,2,3); plot(w/pi, angX); grid on; title('Angle Part'); xlabel('frequency in \pi units'); ylabel('Radians'); subplot('2,2,2'); plot(w/pi, realX); grid on; title('Real Part'); xlabel('frequency in \pi units'); ylabel('Real'); subplot('2,2,4'); plot(w/pi, imagX); grid on; title('Imaginary Part'); xlabel('frequency in \pi units'); ylabel('Imaginary');
运行结果:
转载于:https://www.cnblogs.com/ky027wh-sx/p/6041381.html
DSP using MATLAB 示例Example3.1 3.2 3.3相关推荐
- 《DSP using MATLAB》示例Example7.25
今天清明放假的第二天,早晨出去吃饭时天气有些阴,十点多开始"清明时节雨纷纷"了. 母亲远在他乡看孙子,挺劳累的.父亲照顾生病的爷爷-- 我打算今天把<DSP using MA ...
- 《DSP using MATLAB》示例9.2
代码: %% ------------------------------------------------------------------------ %% Output Info about ...
- 《DSP using MATLAB》Problem 5.7
代码: %% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %% Output In ...
- 《DSP using MATLAB》Problem 6.24
代码: %% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %% Output In ...
- 《DSP using MATLAB》Problem 6.12
代码: %% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %% Output In ...
- 《DSP using MATLAB》Problem 6.20
先放子函数: function [C, B, A, rM] = dir2fs_r(h, r);% DIRECT-form to Frequency Sampling form conversion % ...
- 《DSP using MATLAB》Problem 7.26
注意:高通的线性相位FIR滤波器,不能是第2类,所以其长度必须为奇数.这里取M=31,过渡带里采样值抄书上的. 代码: %% +++++++++++++++++++++++++++++++++++++ ...
- 《DSP using MATLAB》Problem 6.6
代码: %% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %% Output In ...
- 分层目标规划matlab,多目标规划问题Matlab示例_fgoalattain.doc
多目标规划问题Matlab示例_fgoalattain 多目标规划问题: x = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub,nonlcon,.. ...
最新文章
- 只需三分钟!只需创建一个vuex.js文件,让你马上学会使用Vuex,尽管Vuex是个鸡肋!(扔掉store文件夹和里面的index、getters、actions、mutations等js文件吧!)
- vs2017运行显示系统找不到指定的文件_windows 平台使用 VS2017 编译 libevent 源码
- 快速融入新团队的一点个人体会
- 【Qt】Visual Studio中无法打开Qt中UI文件
- 高级数据结构与算法 | 深度遍历搜索(DFS)与广度遍历搜索(BFS)
- 设置网格_500ETF网格设置
- FreeRTOS任务优先级说明
- 用API实现串口异步读写
- Centos 7安装yum时发生错误https:nginx.orgpackagesmainlinecentos7%24baseearchrepodatarepomd.xml: Errno 14 HTT
- YTU 2837: 编程题B-狐狸算卦
- MT6763芯片资料MT6763处理器性能介绍
- 三星c7 linux驱动,三星c7手机驱动(三星c7驱动程序)V1.5.55.2 专业版
- GNS3模拟ASA8.4 ASDM6.4QEMU模拟 终结版
- Axure RP 9 下载安装
- php进度台帐管理系统,捷雅途 - 工程量0号台账管理系统快速操作说明
- 个人保研经历以及经验分享
- docker 容器健康检查
- 去摘,遥不可及的星~
- 读《我喜欢生命本来的样子》记(一)
- JavaScript中DOM文档事件
热门文章
- 最小路径和—leetcode64
- 用计算机实现智能解题,浙江省信息技术学考复习模块2——计算机功能、智能处理、字处理...
- shiro注销其他用户_Shiro实现互斥登录,并踢出登录用户功能。
- wordpress Oops! That page can’t be found.
- HDU-5249 KPI(STL or 权值线段树)
- HDU - 1027 全排列
- 回文数的个数、杨辉三角
- 记录 之 tensorflow中几个常用的函数:tf.unstack,tf.concat() 和 tf.stack() 等
- 【c++】为什么类中静态(static)成员不能在类的定义内初始化?
- C++ 调试帮助简介