代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
fresnels.m
function cx = fresnels(x)
cx = sin(pi * .5 .* x.^2);
ex5_12.m
t=0:pi/50:2*pi;
r=sin(t).*cos(t);
polar(t,r,'-*');
cb2.m
[Zreal,Zimag]=pol2cart(-3*pi/4,4)
08-07.txt
>> x=[-3:0.2:3];
>>y=1/sqrt(2*pi)*exp(-1/2*x.^2);
>> plot(x,y)
08-05.txt
>> x=[-3:0.2:3];
>> y=1/sqrt(2*pi)*exp(-1/2*x.^2);
>> plot(y)
08-08.txt
>> x=[-3:0.2:3];
>>y=1/sqrt(2*pi)*exp(-1/2*x.^2);
>> plot(y)
06-13.txt
>> h_sin = @(x,y)(sin(x+y));
>> h_sin(pi/3,pi/pi/6)
07-40.txt
>> dsolve('Dx = -a*x')
>> dsolve('Dx = cos(t)')
>> dsolve('D2x = cos(t)')
>> dsolve('(Dy)^2 + y^2 = 1','s')
>> dsolve('Dy = a*y', 'y(0) = b')
>> dsolve('D2y = -a^2*y', 'y(0) = 1', 'D
02-20.txt
>> C{1,1} = pi;
>> C{1,2} = 1;
>> C{1,3} = ispc;
>> C{1,4} = magic(3)
>> for k = 1:4
x(k) = islogical(C{1,k});
end
>> x
shiyan313.m
n=100000;
u=rand(1,n);
z=sum(sin(u.*pi/2))*pi/2/n