function y=fsresp(num,den,un,wo) %FSRESP Fourier Series Linear System Response. % FSRESP(N,D,Un,Wo) returns the complex exponentia…
Fourier+Transform 源代码
汇集 Fourier+Transform 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
%用来把信号从时域转化为频域 syms t w B=3; W=20; %t=linspace(-pi,pi,600); y=(2/pi)*((sin((B*t)/2)/t).^2)*cos(W*t) F=fourier(y,t,w) mag=ab…
function [A,B,C,fn,t,w]=fzzyfft(T,M,Nf) % 利用FFT,计算[0,T}区间上定义的时间波形的Fourier级数展开系数A,B和频谱C,fn 。 % T 时间波形周期 % M 用作2的幂次 % Nf 输出谐波…
function f=sawtooth(t,T) %SAWTOOTH Sawtooth Waveform Generation. % SAWTOOTH(t,T) computes values of a sawtooth having a % period T…
% Mastering MATLAB Toolbox % Version 5.1 31-June-1998 % % BY: Duane Hanselman and Bruce Littlefield, University of Maine % % Rea…
% Matlab Differentiation Matrix Suite % %by J.A.C. Weideman and S.C. Reddy % %This is a software package consisting of seventeen {…
% The script file sineg.m solves the sine-Gordon equation % u_tt-u_xx-sin u on the real line using one of the following % diffe…
function z = frdescp(s) %FRDESCP Computes Fourier descriptors. % Z = FRDESCP(S) computes the Fourier descriptors of S, which i…
function s = ifrdescp(z, nd) %IFRDESCP Computes inverse Fourier descriptors. % S = IFRDESCP(Z, ND) computes the inverse Fourie…
syms t x x=exp(-2*abs(t)) F=fourier(x); subplot(211)%绘图的位置 ezplot(x),title('双边指数信号的波形(上图)及其傅里叶变换幅频图(下图)') subplot(212) ezplo…