当前位置:网站首页>【滤波器设计】根据设计指标使用matlab定制滤波器
【滤波器设计】根据设计指标使用matlab定制滤波器
2022-06-29 03:42:00 【fpga和matlab】
滤波器设计指标如下:

clc;
clear;
close all;
warning off;
%use the windows function
N = 25; %阶数,可以用过渡带来计算
wc = 1/6; %wc是过渡带中心,要除以pi
hn = fir1(N-1,wc,'low',Bartlett(N));
%要求a
disp('the cofficient of windows is');
hn'
figure;
plot(hn,'b-o');
title('the cofficient of windows');
%要求b
figure;
freqz(hn,1);
得到滤波器系数如下:
the cofficient of windows is
ans =
-0.0000
-0.0160
-0.0305
-0.0391
-0.0381
-0.0251
0.0000
0.0352
0.0761
0.1172
0.1523
0.1758
0.1841
0.1758
0.1523
0.1172
0.0761
0.0352
0.0000
-0.0251
-0.0381
-0.0391
-0.0305
-0.0160
-0.0000


A28-11
边栏推荐
- Restore the binary search tree [simulate according to the meaning of the question - > find the problem - > analyze the problem - > see the bidding]
- 分布式id解决方案
- High performance current limiter guava ratelimiter
- [nrf51][nrf52] nrfconnect installation instructions guide
- Seekbar custom pictures are not displayed completely up, down, left, right / bitmaptodrawable / bitmaptodrawable inter rotation / paddingstart/paddingend /thumboffset
- MobileOne: 移动端仅需1ms的高性能骨干
- 【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(三)
- Différents arbres de recherche binaires [arbre de génération rétrospectif ascendant + recherche de mémoire - - espace - temps]
- [tcapulusdb knowledge base] Introduction to tcapulusdb restrictions
- MySQL Varcahr to int
猜你喜欢
![[tcapulusdb knowledge base] batch copy the game area](/img/c8/1985e4a9df7c9aae81b42c1996ca99.png)
[tcapulusdb knowledge base] batch copy the game area

迅为龙芯开发板pmon下Ejtag-设置硬件断点指令

88.(cesium篇)cesium聚合图

Seekbar custom pictures are not displayed completely up, down, left, right / bitmaptodrawable / bitmaptodrawable inter rotation / paddingstart/paddingend /thumboffset

88. (cesium chapter) cesium aggregation diagram

leetcode - 295. Median data flow

一个注解优雅的实现 接口数据脱敏

Live broadcast preview | neurips special session I & Young Scientists special session

【TcaplusDB知识库】TcaplusDB技术支持介绍

ssm项目环境初步搭建
随机推荐
人大金仓(KingBase)导出表结构
Access 500 error after modstart migrates the environment
Preliminary construction of SSM project environment
[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching
谁家的加密密钥,写死在代码里?(说的就是你)
Data statistical analysis (SPSS) [6]
leetcode:304. 二维区域和检索 - 矩阵不可变
[nrf51][nrf52] nrfconnect installation instructions guide
Same tree [from part to whole]
[Ubuntu] [MySQL] Ubuntu installs mysql, but the compilation error is mysql h: No such file or directory
【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(一)
88.(cesium篇)cesium聚合图
【TcaplusDB知识库】TcaplusDB技术支持介绍
【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(三)
Basic concepts of graph theory
SSH login without password
智能视觉组比赛流程草案
Data collection and management [9]
二叉树序列化与反序列化(leetcode(困难))
Data statistical analysis (SPSS) [4]