代码搜索结果

找到约 36,166 项符合 Raspberry Pi 的代码

sumpar.asv

function sumpar(n) % f(x)= -1 si -pi

sumpar.m

function sumpar(n) % f(x)= -1 si -pi

pi.cal

/* * pi - various routines to calculate pi * * Copyright (C) 1999-2004 David I. Bell * * Calc is open software; you can redistribute it and/or modify it under * the terms of the version 2.1 of

m_exam7.m

% example 7 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y,x,z);

example2_15.m

b=[0,1,1]; a=[1,-0.9,0.81]; [R,p,C]=residuez(b,a) Mp=abs(p') Ap=angle(p')/pi

m_exam13.m

% example 13 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); a=2*sin(x).*cos(x); b=sin(x)./(cos(x)+eps); h1=figure; plot(x,y);axis([0 2*pi -1 1]),title('sin(x)'); h2=figure; plot(x,z);axis([0 2*pi

example2_13.m

n=-5:10; x=sin(pi*n/2); k=-100:100;w=pi/100*k; X=x*(exp(-j*pi/100)).^(n'*k); [xe,xo,m]=evenodd(x,n); XE=xe*(exp(-j*pi/100)).^(m'*k); XO=xo*(exp(-j*pi/100)).^(m'*k); XR=real(X); error1=max(abs(

example0_6.m

x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y,'--',x,z,':'); grid xlabel('x') ylabel('y') title('正弦及余弦曲线')

example2_9.m

n=[-5:5]; x=(-0.9).^n; k=-200:200;w=(pi/100)*k; X=x*exp(-j*pi/100.*(n'*k)); magX=abs(X);angX=angle(X); subplot(2,1,1);plot(w/pi,magX);grid; xlabel('Frequency');ylabel('amplitude'); subplot(2,1,

example2_10.m

x1=rand(1,11);x2=rand(1,11);n=0:10; alpha=2;beta=3; k=0:500; w=(pi/500)*k; X1=x1*(exp(-j*pi/500)).^(n'*k); X2=x2*(exp(-j*pi/500)).^(n'*k); x=alpha*x1+beta*x2; X=x*(exp(-j*pi/500)).^(n'*k); erro