[SOS,G]=tf2sos(hh,1);
% 将滤波器分解为多个二阶滤波器系数
h1=SOS(1,1:3);h2=SOS(2,1:3);h3=SOS(3,1:3);h4=SOS(4,1:3);h5=SOS(5,1:3);h6=SOS(6,1:3);h7=SOS(7,1:3);h8=SOS(8,1:3);
h9=SOS(9,1:3);h10=SOS(10,1:3);h11=SOS(11,1:3);h12=SOS(12,1:3);h13=SOS(13,1:3);h14=SOS(14,1:3);h15=SOS(15,1:3);
h16=SOS(16,1:3);h17=SOS(17,1:3);h18=SOS(18,1:3);h19=SOS(19,1:3);h20=SOS(20,1:3);h21=SOS(21,1:3);h22=SOS(22,1:3);
h23=SOS(23,1:3);h24=SOS(24,1:3);h25=SOS(25,1:3);h26=SOS(26,1:3);h27=SOS(27,1:3);h28=SOS(28,1:3);h29=SOS(29,1:3);
h30=SOS(30,1:3);h31=SOS(31,1:3);h32=SOS(32,1:3);h33=SOS(33,1:3);h34=SOS(34,1:3);
% H(z)分解后每一个二项式对应的系数h=[h(0),h(1),h(2)]
coeff1=round((h1/2)*2^11);
coeff2=round((h2/2)*2^11);
coeff3=round((h3/4)*2^11);coeff4=round((h4/4)*2^11);coeff5=round((h5/4)*2^11);coeff6=round((h6/4)*2^11);coeff7=round((h7/4)*2^11);
coeff8=round((h8/4)*2^11);coeff9=round((h9/4)*2^11);coeff10=round((h10/4)*2^11);coeff11=round((h11/4)*2^11);coeff12=round((h12/4)*2^11);
coeff13=round((h13/4)*2^11);coeff14=round((h14/4)*2^11);coeff15=round((h15/4)*2^11);coeff16=round((h16/4)*2^11);coeff17=round((h17/4)*2^11);
coeff18=round((h18/4)*2^11);coeff19=round((h19/2)*2^11);coeff20=round((h20/2)*2^11);coeff21=round((h21/2)*2^11);coeff22=round((h22/2)*2^11);
coeff23=round((h23/2)*2^11);coeff24=round((h24/2)*2^11);coeff25=round((h25/2)*2^11);coeff26=round((h26/2)*2^11);coeff27=round((h27/2)*2^11);
coeff28=round((h28/2)*2^11);coeff29=round((h29/2)*2^11);coeff30=round((h30/2)*2^11);coeff31=round((h31/2)*2^11);coeff32=round((h32/2)*2^11);
coeff33=round((h33/2)*2^11);coeff34=round((h34/2)*2^11);
% 系数的定点量化(12位)
分数延迟FIR滤波器Matlab程序
2星 需积分: 44 148 浏览量
2015-09-22
21:55:57
上传
评论 15
收藏 7KB RAR 举报
zx2028295
- 粉丝: 0
- 资源: 2
最新资源
- mmqrcode1714153659780.png
- Screenshot_2024-04-27-06-08-58-486_com.baidu.xin.aiqicha.jpg
- 基于Javaweb+Tomcat+MySQL的大学生公寓管理系统+sql文件.zip
- 实训作业基于javaweb的订单管理系统源码+数据库+实训报告.zip
- 多机调度问题贪心算法基于最小堆和贪心算法求解多机调度问题.zip
- 基于同态加密技术的匿名电子投票系统源码.zip
- Pyqt5项目框架-PyQt项目开发实践
- 基于C通过MQTT的智能农业大棚管理系统(本科毕业设计)
- python+CNN的网络入侵检测算法源码.zip
- js 实现记住密码功能 js.cookie.min.js
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈