-
leach_1
无线传感器网的leach协议的实现。基于matlab。。(Wireless sensor networks leach protocol implementation. Based on matlab. .)
- 2010-01-20 13:07:22下载
- 积分:1
-
ASK-PSK-FSK
Implementation of ASK modulation, PSK and FSK.
This application allows the user to generate a random binary sequence and then choose the type of modulation and the frequency with which he wants to work. Once the parameters are set, click on OK to see the shape of the selected modulation and its DSP
- 2011-05-20 22:47:26下载
- 积分:1
-
Minimum-Bayes-classifier-error-rate
这是模式识别中最小错误率Bayes分类器设计方案。
自行完善了在不同先验概率的条件下,男、女错误率和总错误率的统计,放入各个数组当中。
全部程序由主函数、最大似然估计求取概率密度子函数、最小错误率贝叶斯分类器决策子函数三块组成。
调用最大似然估计求取概率密度子函数时,第一步获取样本数据,存储为矩阵;第二步对矩阵的每一行求和,并除以样本总数N,得到平均值向量;第三步是应用公式(3-43)采用矩阵运算和循环控制语句,求得协方差矩阵;第四步通过协方差矩阵求得方差和相关系数,从而得到概率密度函数。
调用最小错误率贝叶斯分类器决策子函数时,根据先验概率数组,通过比较概率大小判断一个体重身高二维向量代表的人是男是女。
主函数第一步打开“MAIL.TXT”和“FEMALE.TXT”文件,并调用最大似然估计求取概率密度子函数,对分类器进行训练。第二步打开“test2.txt”,调用最小错误率贝叶斯分类器决策子函数,然后再将数组中逐一与已知性别的数据比较,就可以得到不同先验概率条件下错误率的统计。
(This is the minimum error rate pattern recognition Bayes classifier design.
Self- improvement prior probability in different conditions , male , female and total error rate error rate statistics , into which each array .
All programs from the main function , maximum likelihood estimation subroutine strike probability density , the minimum error rate Bayesian classifier composed of decision-making three subfunctions .
Strike called maximum likelihood estimate probability density subroutine , the first step to obtain the sample data , stored as a matrix the second step of the matrix, each row sum , and divided by the total number of samples N, be the average vector third step is to application of the formula ( 3-43 ) using matrix and loop control statements , obtain the covariance matrix fourth step through the variance-covariance matrix and correlation coefficient obtained , resulting in the probability density function .
Call the minimum error rate decision Functions Bayesian)
- 2012-02-02 20:33:06下载
- 积分:1
-
exzample
是薛定宇和陈阳泉所著《高等应用数学问题的MATLAB求解》一书的配书光盘中的例题matlab代码(And Chen Xue Dingyu Yangquan book is " higher MATLAB to solve mathematical problems," a book with the book CD matlab code examples)
- 2013-09-11 10:14:40下载
- 积分:1
-
matlab
灰关联上的源代码,主要用于计算机使用,便于计算者进行灰关联计算。(matlab)
- 2009-03-14 10:30:24下载
- 积分:1
-
MATLAB
fuzzy controll system introduction
- 2009-05-13 07:42:00下载
- 积分:1
-
Alamouti_16QAM_21
说明: Alamouti空时编码,16QAM调制(Alamouti Sapace Time Coding, 16QAM.)
- 2010-04-28 14:45:04下载
- 积分:1
-
AdapGA
自适应遗传算法 MATLAB编程。。。。。。。。。。。。。。。。。。(Adaptive genetic algorithm)
- 2011-05-08 10:53:34下载
- 积分:1
-
m-file
apply mid filter to image and compare with another filter in image processing
- 2012-01-22 05:28:52下载
- 积分:1
-
FIR
1、验证窗函数 N 变化时,验证其频谱主瓣副瓣比、主瓣宽度的变化。
a)矩形窗函数的 N 变化时,验证其其频谱主瓣副瓣幅度比基本不会发生变化,
而主瓣宽度将会变窄。这说明,当用矩形窗函数设计滤波器时,增大 N 不能使
得阻带衰减减小,但能够减小过渡带。
b)再选取其他的窗如 hamming/hanning 窗,验证当 N 变化时,其频谱主瓣宽
度变化、主瓣副瓣比值变化情况。
2、用窗函数法设计线性相位 FIR 低通,通带截止频率 wp=0.5PI, 阻带截止频率 ws=0.6PI,
阻带衰减不小于 40dB,通带衰减不大于 3dB.
a)选取 Hanning,Hamming 窗查看设计出来的 FIR 的过渡带宽和阻带衰减是否
满足要求,二者有什么不同。
b)使用 hamming 窗,将窗长增大 1 倍,设计 FIR。验证同样的窗函数类型
(hamming),不同窗长度时,设计出来的 FIR 的过渡带宽和阻带衰减都有什么变
化。
3、不使用 Matlab 系统函数得到上一项指标的低通,并与上一项结果比较。
4 用窗函数法设计线性相位 FIR 高通,通带截止频率 wp=0.8PI, 阻带截止频率
ws=0.7PI, 阻带衰减不小于 30dB,通带衰减不大于 3dB.(An actual filter is implemented using the truncated unit impulse response sequence of the ideal filter.
For the ideal low pass filter, the unit impulse response h, N, D () is intercepted by a length of N, and the length is
The N sequence H (n), when intercepted, guarantees causality and linear phase requirements for the filter.
In order to reduce the Gibbs effect, the H (n) window is added, and the appropriate window function is selected to ensure the stopband attenuation and
Transition zone requirement. Note that the sidelobe of the window function affects the stopband attenuation of the filter, and the main lobe width affects the filter
Transition bandwidth.)
- 2017-07-06 11:55:24下载
- 积分:1