代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
fzz.m
function [A0,A,B]=FZZ(func,T, n)
syms t;
func = subs(sym(func), findsym(sym(func)),sym('t'));
A0=int(sym(func),t,-T/2,T/2)/T;
for(k=1:n)
A(k)=int(func*cos(2*pi*k*t/T), t,-T/2,T/2)*2/T;
A
ex1001.m
function ex1001()
subplot(1,2,1),fplot('sin(x)/(pi*x)', [-3*pi,3*pi]);
title('时域图')
hold on;
subplot(1,2,2),fplot('-heaviside(x-1)+heaviside(x+1)',[-3,3]);
title('傅氏变换后的频域图');
axis([-3 3 0 1.5])
exa060603.m
%----------------------------------------------------------------------------
% exa060603.m, for example 6.6.3;
% To design IIR Butteworth bandstop DF by analog-lowpass,
% -------------------------
exa011004_sinc.m
%-----------------------------------------------------------------
% exa011004_sinc.m, for example 1.10.4
% to generate the sinc function.
% 产生一 sinc 函数;
%-----------------------
exa050501.m
%------------------------------------------------------------------------
% exa050501.m, for example 5.5.1 and fig5.5.1
% to explain the spectra factorization
%------------------------------------
exa060701_3.m
%-----------------------------------------------------------------------------
% exa060701_3.m , for example 6.7.1 and 6.5.1
% to test butter.m
%---------------------------------------------------
exa060701_2.m
%-----------------------------------------------------------------------------
% exa060701_2.m , for example 6.7.1 and 6.5.1
% to test buttord,lp2lp,bilinear ;
% to design Low-pass DF with s=2/Ts[(
exa100800_corrcoef.m
%------------------------------------------------------------------------
% exa100800_corrcoef.m,
% to test corrcoef.m ;
%------------------------------------------------------------------------
mdefir1.c
#include
#include
#include
#include "msp.h"
void mdefir1(int l,int iband,float fl,float fh,float fs,int iwindow,
float b[],float w[],int *ierror)
{
/*-------------
matrices.m
% Appendix F: MATLAB Basics, Section F.3, p. 823-827.
%
% The MATLAB use of matrices described in Section F.3
% includes Figures F.12 - F.17. After each subtopic, a
% pause is inserted to