代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/374795/9384125
txt p1-12.txt
#include
const double PI=3.1416; //声明常量(const变量)PI为3.1416
main()
{
//声明3个变量
double r,l,s;
//输入圆的半径
coutr;
//计算圆的周长
www.eeworm.com/read/374795/9384130
txt p1-100.txt
#include
#define PI 3.1416
main() {
int i=100;
#if 1
cout
www.eeworm.com/read/374795/9384166
txt p1-98.txt
#include
//以下是几个简单宏替换预处理指令
#define YES 1
#define PI 3.1415926
#define RAD PI/180
#define MESG "This is a string."
//以下是主程序
main() {
//以下各语句使
www.eeworm.com/read/374784/9384607
m braninfunction.m
clear
[x,y] = meshgrid(-5:0.05:10,0:0.05:15);
z=(y-5.1/4/pi/pi*(x.^2)+5/pi*x-6).^2+10*(1-1/8/pi)*cos(x)+10;
mesh(x,y,z);
title('Branin Function','FontSize',16);
www.eeworm.com/read/374775/9385135
m gamicheval.m
function [sol,val] = gaMichEval(sol,options)
val = 21.5 + sol(1) * sin(4*pi*sol(1)) + sol(2)*sin(20*pi*sol(2));
%G=zeros(0);
%val = sqrt(sol(1)) * sin(2*sol(1)) + sqrt(sol(1))*cos(5*sol(1))+5;
www.eeworm.com/read/178352/9406691
m a_filter_design.m
% Design filter by specifying delay in units and
% looking at mag and phase response
% Good default values for fft_size = 128 and num_carriers = 32
delay_1 = 6; % 6
attenuation_1 = 0.35; %
www.eeworm.com/read/374416/9406857
m shili05.m
function shili05
h0=figure('toolbar','none',...
'position',[200 150 450 250],...
'name','实例05');
t=0:pi/10:2*pi;
[x,y]=meshgrid(t);
subplot(2,2,1)
plot(sin(t),cos(t))
axis equal
sub
www.eeworm.com/read/374416/9406911
m shili06.m
function shili06
h0=figure('toolbar','none',...
'position',[200 150 450 400],...
'name','实例06');
t=0:pi/10:2*pi;
h=plot(t,sin(t));
xlabel('t=0到2\pi','fontsize',16);
ylabel('sin(t)','fon
www.eeworm.com/read/178336/9407334
c mdefir1.c
#include
#include
#include
#include "msp.h"
void mdefir1(int l,int iband,float fl,float fh,float fs,int iwindow,
float b[],float w[],int *ierror)
{
/*-------------
www.eeworm.com/read/177691/9440226
m exp2_3_.m
%plot绘图命令的使用
close all %关闭打开了的所有图形窗口
clc %清屏命令
clear %清除工作空间中所有变量
%定义时间范围
t=[0:pi/20:8*pi];
y=sin(t);
plot(t,y,'b:square')
% r表示线的颜色为红色,此外 y(黄色)g(绿色)b(蓝色)
%