代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
ex081100.m
% Chapter 8: Example 8.11
% Impulse Invariance Transformation
% Butterworth Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi;
ex081400.m
% Chapter 8: Example 8.14
% Impulse Invariance Transformation
% Elliptic Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi;
ex082800.m
% Chapter 8: Example 8.28
% Chebyshev-1 Highpass Filter Design:
% Use of the CHEBY1 function
%
% Digital Filter Specifications: % Type: Chebyshev-I highpass
ws =
ex081300.m
% Chapter 8: Example 8.13
% Impulse Invariance Transformation
% Chebyshev-2 Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi;
ex081200.m
% Chapter 8: Example 8.12
% Impulse Invariance Transformation
% Chebyshev-1 Lowpass Filter Design
%
% Digital Filter Specifications:
wp = 0.2*pi;
freqz_m.m
function [db,mag,pha,grd,w] = freqz_m(b,a);
% Modified version of freqz subroutine
% ------------------------------------
% [db,mag,pha,grd,w] = freqz_m(b,a);
% db = Relative magnitude in dB comp
gamicheval.m
function [sol,val] = gaMichEval(sol,options)
val = 21.5 + sol(1) * sin(4*pi*sol(1)) + sol(2)*sin(20*pi*sol(2));
%G=zeros(0);
%val = sqrt(sol(1)) * sin(2*sol(1)) + sqrt(sol(1))*cos(5*sol(1))+5;
gaussian.c
#include
#define pi 3.1415
double
gaussian(double x)
{
double resu;
resu=-0.5*x*x;
resu=exp(resu);
resu=resu/sq
quadeg1.m
%微积分例1:一元函数求导(diff,gradient)
clear;close;
x=-2*pi:0.1:2*pi;
y=sin(x);
dy=diff(y)./diff(x);
plot(x,y,x(1:length(x)-1),dy);
hold on;
yx =gradient(y,x);
plot(x,yx,'ro');
yg25.m
clear all;
clc;
x = -pi:pi/20:pi;
y1=2*cos(x)-sin(x).*sin(x);
y2=sin(2*x).*cos(x);
plot(x,y1,'-.b',x,y2,'r')
h = legend('y1','y2',2);
gtext('y1');
gtext('y2');