代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/188135/8568789
cpp 2_1.cpp
#include
#define PI 3.1416
void main()
{
double r,l,s;
coutr;
l=2*PI*r;
s=PI*r*r;
cout
www.eeworm.com/read/432821/8569634
asv guihd.asv
function guihd(arg)
if nargin==0
arg='Initialize';
end
switch arg
case 'Initialize'
hf=figure('Position',[200 200 600 400] ,...
'Name','GUI示例' ,...
'NumberTit
www.eeworm.com/read/432821/8569640
m guihd.m
function guihd(arg)
if nargin==0
arg='Initialize';
end
switch arg
case 'Initialize'
hf=figure('Position',[200 200 600 400] ,...
'Name','GUI示例' ,...
'NumberTit
www.eeworm.com/read/432821/8569799
m exm15.m
clf reset
x=-2*pi:0.4:2*pi;
y1=sin(x);y2=cos(x);
plot(x,y1,x,y2,'g',x,zeros(size(x)),'k:')
hg=findobj(gca,'Color','g') %在当前轴上寻找绿线的句柄
set(hg,'Color','r')
y3=get(hc(1),'ydata')+0.3;
set(hc(1),
www.eeworm.com/read/432821/8569951
m exm7.m
t=(-2*pi:pi/60:2*pi)+eps;
y=sin(t)./t;
hline=plot(t,y); %绘制Sa曲线
cm=uicontextmenu; %创建现场菜单
%制作具体菜单项,定义相应的回调
uimenu(cm,'label','Red','callback','set(hline,''color'',''r''),')
uimen
www.eeworm.com/read/432821/8570041
m ex312.m
%*********************************************************
%程序:EX312.M
%功能:坐标轴设置函数axis使用实例
%*********************************************************
close all %关闭所有窗口
subplot(1,3,1)
www.eeworm.com/read/432821/8570052
m ex202.m
%********************************************************
%程序:EX202.M
%功能:高级绘图函数plot绘图实例
%********************************************************
x=0:0.4*pi:2*pi; %定义x坐标轴范围及刻度
y1=
www.eeworm.com/read/432821/8570061
m ex215.m
%********************************************************
%程序:EX215.M
%功能:文本框标注函数gtext使用实例
%********************************************************
x=0:0.02*pi:2*pi; %定义x坐
www.eeworm.com/read/432821/8570080
m ex203.m
%********************************************************
%程序:EX203.M
%功能:MATLAB中曲线线型、颜色和标记点类型使用实例
%********************************************************
x=0:pi/20:2*pi; %定义x坐标轴范
www.eeworm.com/read/432821/8570101
m ex216.m
%********************************************************
%程序:EX216.M
%功能:为图形添加图例
%********************************************************
x=0:0.01*pi:4*pi; %定义x坐标轴范围及定义
y1=2*sin(x);