代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/298817/7933432
c 矩阵转换.c
void trans(int *p,int n)
{
int i,j,temp;
int *pi,*pj;
for(i=0;i
www.eeworm.com/read/433368/7937069
m e0208.m
t1=linspace(0,2*pi,5) %从0到2*pi等分成5个点
linspace(1,8,8)
linspace(1,8,1)
t2=logspace(0,2,3) %从1到100(即101到102)按对数等分成3个点
www.eeworm.com/read/433368/7937076
m e0242.m
x=5317;y=int2str(x)
p=num2str(pi,7)
a=[1 2 3;4 5 6] ;
b=mat2str(a)
str=sprintf('The value of pi=%8.6f.',pi)
www.eeworm.com/read/433368/7937286
m e0550.m
syms x
syms p real
int(1/x^p,x,1,inf)
%对第二个积分输入命令:
int(1/(2*pi)^(1/2)*exp(-x^2/2),-inf,inf)
%对后一个积分输入命令:
int(1/(1-x)^2,0,2)
www.eeworm.com/read/433368/7937343
m e0602.m
x=1:pi/100:4;
y=2*exp(-0.5*x).*log(2*pi*x);%y的结果为数组乘运算
plot(x,y)
www.eeworm.com/read/433368/7937569
m e0605.m
x=-pi:pi/10:pi;xx=x+(x==0&x==pi&x==-pi)*eps;%补充真数为零的点
yy=log(abs(sin(xx)));plot(x,yy)
title('This is figure of the five example. '); %给图形加上标题
axis([-3.2 3.2 -45 0])
xlabel('x'),ylabel('yy');grid o
www.eeworm.com/read/433368/7937602
m e0603.m
x=0:pi/100:2*pi;y1=2*sin(2*x);y2=3*sin(3*x);
plot(x,y1,x,y2)%在同一个坐标系分别绘制二维图形
title('This is figure of the third example. '); %给图形加上标题
xlabel('x'); %给x轴加标注
ylabel('y');
legend('2*sin(2*x)' ,'3*
www.eeworm.com/read/398520/7941572
m qam.m
fb=16;
fc=16;
fs=512;
nn=16;
%msg=randint(nn,1);
msg=[1 1 0 1 0 1 0 0 1 1 0 1 0 0 1 1];
msg1=msg*2-1;
a=msg1(1:2:nn-1);
b=msg1(2:2:nn);
for i=1:8
if a(i)==-1
if b(i)==-1
www.eeworm.com/read/198282/7942162
m examp5_22.m
syms z; f=1/(z*sin(z));
c0=limit(f*z^2,z,0)
k=[-4 4 -3 3 -2 2 -1 1]; c=[];
for kk=k; c=[c,limit(f*(z-kk*pi),z,kk*pi)]; end; c
www.eeworm.com/read/198282/7942236
m examp8_13.m
x0=[0,0.4,1 2,pi]; y0=sin(x0); ezplot('sin(t)',[0,pi]); hold on
sp1=csapi(x0,y0); fnplt(sp1,'--'); % 三次分段多项式样条插值
sp2=spapi(5,x0,y0); fnplt(sp2,':') % 5 次 B 样条插值
x=0:.12:1; y=(x.^2-3*x+5).*exp(-