代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
normal.m
function y=normal(x)
y=(1/(2*pi)^0.5)*exp(-x.^2/2);
例9-20 .m
t=0:0.01:3
y=sawtooth(2*pi*t,0.5)
plot(t,y)
例5-31.m
>> n=12;
>> m=moviein(n);
>> t=0:2/n*pi:4*pi;
>> x=0:1/n*pi:4*pi;
>> nj=length(x);
>> for i=1:n
例10-3.m
t=0:pi/10:2*pi;
[X,Y,Z]=cylinder(4*cos(t)+1);
mesh(X,Y,Z)
c8mga1a.m
function y=c8mgaa(x)
y=-x.*sin(10*pi*x)-2;
08-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
07-14.txt
>> h_sin = @(x,y)(sin(x+y));
>> h_sin(pi/3,pi/pi/6)
02-21.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
09-08.txt
>> x=[-3:0.2:3];
>>y=1/sqrt(2*pi)*exp(-1/2*x.^2);
>> plot(y)
09-07.txt
>> x=[-3:0.2:3];
>>y=1/sqrt(2*pi)*exp(-1/2*x.^2);
>> plot(x,y)