代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

example1_10.m

t=0:pi/20:2*pi; plot(t,sin(t)); delete(gca);

idft.m

function g=idft(x,N) n=0:(N-1); T=zeros(1,N); for k=0:(N-1) p=x.*exp((j)*2*pi*n*k/N)/N; z=0; for i=1:N z=z+p(i); end T(k+1)=z; end T

dft.m

function g=dft(x,N) n=0:(N-1); T=zeros(1,N); for k=0:(N-1) p=x.*exp((-j)*2*pi*n*k/N); z=0; for i=1:N z=z+p(i); end T(k+1)=z; end T

sinc.m

function y=sinc(x) % Y=SINC(X), determines the sinc function y=(sin(pi*x)+(x==0))./(pi*x+(x==0));

ws.m

function f=f1(t) t=linspace(0,2*pi,30); f=sin(t); plot(t,f,'-');

sinc.m

function y=sinc(x) % Y=SINC(X), determines the sinc function y=(sin(pi*x)+(x==0))./(pi*x+(x==0));

fesin.m

function f=fesin(x) f=exp(-0.5*x).*sin(x+pi/6);

08-24.txt

>> x=cos(t); >> y=sin(t); >> z=t; >> ezplot3(x,y,z,[0,6*pi]);

09-09.txt

>> x=[-3:0.2:3]; >> y=1/sqrt(2*pi)*exp(-1/2*x.^2); >> subplot(1,2,1),plot(x,y,'r--*') >> subplot(1,2,2),plot(x,y,'r*')

fesin.m

function f=fesin(x) f=exp(-0.5*x).*sin(x+pi/6);