傅立叶分析
>>plot(t, f) % plot results 接下来,让我们把锯齿波加到传递函数为H(s)
函数fsresp专门解决此类问题。
function y=fsresp(num, den, un, wo)
% FSRESP Fourier Series Linear System Response
% FSRESP(N, D, Un, Wo) returns the comples exponential FS of the
% output of a linear system when the input is given by a FS
% N and D are the numerator and denominator coefficients
% respectively of the system transfer function.
% Un is the complex exponential Fourier Series of the system input.
% Wo is the fundamental frequency associated with the input.
% Copyright (c) 1996 by Prentice-Hall, Inc.
if nargin<4, wo=1; end
N=(length(un)-1)/2; % highest harmonic
jnWo=sqrt(-1)*(-N : N)*wo; % frequencies of harmonics
y=(polyval(num, jnWo) ./ polyval(den, jnWo)).*un; % output is Yn=H(jnWo)*Un 运用fsresp,我们得到:
>>Yn=fsresp(60, [1 60], Fn, wo); % find response coefficients
>>y=fseval(Yn, t, wo); % evaluate output
>>plot(t, f, f, y) % plot system input and output
作为最后一个例子,运用fsform把锯齿信号的傅里叶级数转换为三角形式。
function [a, b, ao]=fsform(c, d, co)
% FSFORM Fourier Series Format Conversion
% KN=FSFORM(An, Bn, Ao) converts the trigonometric FS with
% An being the CSOINE and Bn being the SINE coefficients to
% the complex exponential FS with coefficients Kn.
% Ao is the DC component and An,Bn and Ao are assumed to be real.
% [Kni]=FSFORM(An, Bn, Ao) returns the index vector i that
% identifies the harmonic number of each element of Kn.
% [An, Bn, Ao]=FSFORM(Kn) does the reverse format conversion.
% Copyrigth (c) 1996 by Prentice-Hall,Inc.
nc=length(c);
if nargin==1 % complex exp -> trig form
if rem(nc-1, 2)|(nc==1)
error(‘ Number of elements in K must bo odd and greater than 1 ‘)
end
nn=(nc+3)/2;
a=2*real(c(nn : nc));
b=-2*imag(c(nn : nc));
ao=real(c(nn-1)); 60的线性系统中。 s 60
本书将要重点介绍的小波理论正是在人们充分研 究了傅立叶分析方法的特点与局限性后建立起来的,因此,结合本书的需要,本章我们介绍 了傅立叶分析的基本概念与基础理论...
第 4 期 杜衡: 振动信号处理中傅里叶级数的形象化分析 315 (a ) 时域方波信号 (b ) 方波信号经傅里叶分解后得到的时域谐波信号组合 这样就使三角式转化成...
傅里叶分析_数学_自然科学_专业资料。这是台湾一个教授写的有关傅里叶变换的...台湾 讯号处理第二次作业---傅利叶分析与傅利叶转换许逸隆 国立高雄第一科技...
一、傅立叶分析理论的提出?...?3? 二、傅立叶分析的类别及其联系?......
题目:傅里叶分析及其应用答辩人:黄昶昊 班级:08110801 学号:0811080116 指导教师:刘芳 目次 第一章 绪论第二章 第三章 第四章 傅里叶分析的产生与发展 傅里叶...
普通高等教育“十一五”国家级规划教材 《傅里叶光学?第2版》电子教案 第一章 傅里叶分析周哲海 吕乃光 编著 机械工业出版社 本章主要内容 1、常用函数 2、...
Matlab 傅立叶分析_文学_高等教育_教育专区。很好的。。。第14 章 傅里叶分析 象富里哀级数,富里哀变换以及它们离散时间相应部分构成了信号处理的基础。为了 便于这...
傅里叶分析串讲_数学_自然科学_专业资料。傅里叶分析——理论总应该从简单开始,目标却是走向应用 by QQ:892242298 假设一周期信号 ,其 次谐波为 ,它们的线性组合...
小波与傅立叶分析_信息与通信_工程科技_专业资料。小波与傅立叶分析傅立叶分析方法提供了一种把时域信号转换到频域进行分析的途径,但它只 考虑时域和频域之间的一对一...
热门文档