-
example4_3
例3:分析占空比为ta的矩形脉冲频谱
T=1 时间窗大小
ta=0.5 占空比
N=256
t=linspace(-T,T,N)
ts=2*T/N
fs=1/ts
(x=zeros(1,N)
x(N/2-round(N/2*ta):N/2+round(N/2*ta))=ones(1,2*round(N/2*ta)+1)
y=fft(x,N)
figure
plot(t,x)
title([ 时域信号图 占空比为 ,num2str(ta)])
axis([-T T-0.2 1.2])
xlabel( t /s )
figure
subplot(211)
f=linspace(-fs/2,fs/2,N)
plot(f,abs(fftshift(y))/N)
title([ 矩形脉冲双边谱 脉冲时间t=[- ,num2str(ta*T), , ,num2str(ta*T), ] ])
xlabel( f /Hz )
)
- 2010-05-25 20:59:59下载
- 积分:1
-
Matlab_GM(1_1)coding
灰色预测模型算法的程序设计方法,可实现未来数据预测功能(Gray prediction model algorithm programming method can achieve future data prediction function)
- 2013-04-06 13:53:37下载
- 积分:1
-
Matlab
Matlab数字图像处理源代码,里面有书上的代码,便于读者下载(Matlab Digital image processing source code,There are books code, convenient for readers to download。)
- 2013-12-05 15:19:41下载
- 积分:1
-
k-means
用c程序和matlab分别试验一种k-means改进算法,按照方法选取聚类中心点,事实证明,这种改进是有效的。(Matlab with c procedures and were experimenting with an improved k-means algorithm, in accordance with the method of selecting cluster center, the facts show that this improvement is effective.)
- 2010-05-30 22:18:05下载
- 积分:1
-
huffmanqi
本程序不能编译除大小写字母之外的编码
本程序需事先建立字母权值文后件才可运行
本程序从文件中读入文字,编译后写入文件,所以屏幕上不会直接出现答案(not build this program in addition to case-insensitive outside of the coding process required prior to the establishment of the letters after the value of the text pieces can Win OK this program read from the file into the text, compiled into the paper, not directly on the screen appeared the answer)
- 2006-11-08 11:58:41下载
- 积分:1
-
matlab-thin
自己写的matlab写的细化程序,特别针对条形的图形(Matlab write their detailed written procedures, especially for bar graph)
- 2011-11-29 19:24:10下载
- 积分:1
-
cppprograming
c++程序设计讲义 cppprograming 含源码(c++ programming including lectures cppprograming source)
- 2007-08-08 11:02:48下载
- 积分:1
-
Laba_0
#include "comparer.h"
#include <iostream>
using namespace std
int Comparer::compareByName(Student& s1,Student& s2)
{
return strcmp(s1.m_szName,s2.m_szName)
}
int Comparer::compareBySurname(Student& s1,Student& s2)
{
return strcmp(s1.m_szSurname,s2.m_szSurname)
}
int Comparer::compareByGroup(Student& s1,Student& s2)
{
- 2010-01-21 00:05:09下载
- 积分:1
-
ga_lm_bp
4-9-1的结构ga-lm的bp算法 有示例数值 不是拟合而是预测(4-9-1 structure of ga-lm bp algorithm is not fit but there are examples of numerical prediction)
- 2013-12-23 21:25:22下载
- 积分:1
-
TestApplications
test tapi applications
- 2014-11-29 23:49:37下载
- 积分:1