代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/338062/6311141
m lag.m
function s=lagrange(t,n)
for i=1:n
h=2*pi/n;
x(i)=i*h;
end
s=0;
for i=1:n
l=1;
for j=1:n
if j~=i
l=l*(t-x(j))/(x(i)-x(j));
end
end
s=s+
www.eeworm.com/read/493017/6404032
asv m_exam8.asv
% example 9
x=linspace(0,2*pi,30);
y=sin(x);
z=cos(x);
plot(x,y,'g:',x,z,'r-',x,y,'bo',x,y,'c+')
www.eeworm.com/read/493017/6404109
m m_exam8.m
% example 8
x=linspace(0,2*pi,30);
y=sin(x);
z=cos(x);
plot(x,y,'g:',x,z,'r-',x,y,'bo',x,z,'r+')
www.eeworm.com/read/492326/6421520
m ex5_4.m
x=0:pi/100:2*pi;
y1=0.2*exp(-0.5*x).*cos(4*pi*x);
y2=2*exp(-0.5*x).*cos(pi*x);
plotyy(x,y1,x,y2);
www.eeworm.com/read/492326/6421568
m ex3_21.m
a=0;b=3*pi;
n=1000; h=(b-a)/n;
x=a; s=0;
f0=exp(-0.5*x)*sin(x+pi/6);
for i=1:n
x=x+h;
f1=exp(-0.5*x)*sin(x+pi/6);
s=s+(f0+f1)*h/2;
f0=f1;
end
s
www.eeworm.com/read/491155/6441100
m gr.m
function [sys,x0,str,ts]=zon(t,x,u,flag)
%dispath the flag.the switch function controls the calls to
%s_function routines at each simulation stage.
switch flag;
case 0
sizes =simsizes;
%Lo
www.eeworm.com/read/488286/6491448
m lag.m
function s=lagrange(t,n)
for i=1:n
h=2*pi/n;
x(i)=i*h;
end
s=0;
for i=1:n
l=1;
for j=1:n
if j~=i
l=l*(t-x(j))/(x(i)-x(j));
end
end
s=s+
www.eeworm.com/read/486622/6536825
c dft.c
/******************************************************************************
FILE
dft.c - This is the C source code for the implmentation of the
Discrete Fourier Transform (DFT) algorithm.