代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/221007/7074572
m ex5_15.m
subplot(2,2,1);
ezplot('x^2+y^2-9');axis equal
subplot(2,2,2);
ezplot('x^3+y^3-5*x*y+1/5')
subplot(2,2,3);
ezplot('cos(tan(pi*x))',[ 0,1])
subplot(2,2,4);
ezplot('8*cos(t)','4*sqrt(2)*sin(t)',[
www.eeworm.com/read/221007/7074579
m ex5_19.m
t=0:pi/20:2*pi;
[x,y,z]= cylinder(2+sin(t),30);
subplot(2,2,1);
surf(x,y,z);
subplot(2,2,2);
[x,y,z]=sphere;
surf(x,y,z);
subplot(2,1,2);
[x,y,z]=peaks(30);
surf(x,y,z);
www.eeworm.com/read/460712/7105493
m chap4_9ctrl.m
function [sys,x0,str,ts] = MIMO_Tong_s(t,x,u,flag)
switch flag,
case 0,
[sys,x0,str,ts]=mdlInitializeSizes;
case 1,
sys=mdlDerivatives(t,x,u);
case 3,
sys=mdlOutputs(t,x,u);
case {
www.eeworm.com/read/460712/7105577
m chap5_10.m
%Iterative learning control for mobile robot path-tracking
clear all;
close all;
ts=0.001; %Sample time
for k=1:1:2001
xd(k)=cos((k-1)*pi*ts);
yd(k)=sin((k-1)*pi*ts
www.eeworm.com/read/274556/7126976
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/274556/7126979
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/274556/7127039
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/274556/7127052
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/274556/7127101
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/274556/7127109
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*