代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
gensino.m
function Y = gensino(f,n,Ts)
X = zeros(1,length(n));X(1) = 1; % generate the impulses
A = [1 -2*cos(2*pi * f *Ts) 1];
B = [0 sin(2*pi * f *Ts) 0 ];
Y = filter(B,A,X);
d_a1t10.inp
var
x,y,z,w;
const
a=1,
t0=0,
tmax=10,
dt=0.001,
pi=3.1416,
eps=1e-20;
system
y'=a*x &1;
x'=-a*y &1;
w=pi*3;
z=x*y;
sysend.
demotwo.m
%% Plots of Different Signals
%% Continuous Time Sinusoid
% $$x(t) = cos(2\pi ft) ,f=1,2 $$
t = [0:0.01:2];
x1 = cos(2*pi*t);
x2 = cos(2*pi*2*t);
x3 = t.*cos(2*pi*3*t);
x4 = cos(2*pi*4*t.*t);
rlasymp.m
function [wpos,ypos]=rlasymp(G)
G=zpk(G);
zer=G.z{1}; pol=G.p{1}; gain=G.k;
ii=find(abs(zer)0, zer=zer(ii); end
nExcess=length(pol)-length(zer);
if nExcess>0
pp=(sum
mncirc.m
function [h1,h2]=mncirc(M,N)
if nargin==1,
N=[1/3,1/4,1/6,1/12]*pi;
N=[-N(length(N):-1:1),N];
elseif nargin==0
M=[1.3,1.4,1.5,2,3]; M=[M, 1./M];
N=[1/3,1/4,1/6,1/12]*pi;
N=[-
rlasymp.m
function [wpos,ypos]=rlasymp(G)
G=zpk(G);
zer=G.z{1}; pol=G.p{1}; gain=G.k;
ii=find(abs(zer)0, zer=zer(ii); end
nExcess=length(pol)-length(zer);
if nExcess>0
pp=(sum
mncirc.m
function [h1,h2]=mncirc(M,N)
if nargin==1,
N=[1/3,1/4,1/6,1/12]*pi;
N=[-N(length(N):-1:1),N];
elseif nargin==0
M=[1.3,1.4,1.5,2,3]; M=[M, 1./M];
N=[1/3,1/4,1/6,1/12]*pi;
N=[-
liti15.m
theta=linspace(0,2*pi),
rho=sin(2*theta).*cos(2*theta);
polar(theta,rho,'g')
title('Polar plot of sin(2*theta).*cos(2*theta)');
liti33.m
subplot(2,2,1);fplot('hump',[0,1])
subplot(2,2,2);fplot('abs(exp(-j*x*(0:9))*ones(10,1))',[0 2*pi])
subplot(2,2,3);fplot('[tanh(x),sin(x),cos(x)]',2*pi*[-1 1 -1 1])
subplot(2,2,4);fplot('sin(1./x)'
il3_8fun.m
% il3_8fun.m
function f=il3_8fun(x,p)
f=1/sqrt(2*pi)*exp((-(x-p).^2)/2).*log2(2./(1+exp(-2*x.*p)));