代码搜索:Raspberry Pi

找到约 10,000 项符合「Raspberry Pi」的源代码

代码结果 10,000
www.eeworm.com/read/125223/14505394

c ex69.c

#include #define PI 3.141592 #define R 3.0 #define L 2*PI*R #define S PI*R*R main() { printf("L=%f\nS=%f\n",L,S); }
www.eeworm.com/read/225696/14525798

c c02_09.c

#include < stdio.h > int main() { int sum; /*定义一个整型变量*/ float money; /*定义一个实型变量表示单价*/ char letter; /*定义一个字符变量表示单个字符*/ double pi; /*定义一个双精度实型*/ sum = 10; /* 为整型变量赋值 */ money = 2.21; /*
www.eeworm.com/read/225665/14526742

m chap3_11f.m

function [y]=func(x1,x2,x3) for l1=1:1:3 gs1=-[(x1+pi/6-(l1-1)*pi/6)/(pi/12)]^2; u1(l1)=exp(gs1); end for l2=1:1:3 gs2=-[(x2+pi/6-(l2-1)*pi/6)/(pi/12)]^2; u2(l2)=exp(gs2); end
www.eeworm.com/read/124283/14579687

c tests.c

/* integration/tests.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera
www.eeworm.com/read/224486/14588245

m myfun.m

function y = myfun(x) t=35;% x值 15,20,25,30,35 y(1)=x(1); y(2)=4/pi*(1/3*(2.5-(1/(0.011998*t+x(1)))^2)*sqrt(1-(1/(0.011998*t+x(1)))^2)+(1/(0.011998*t+x(1)))*asin(1/(0.011998*t+x(1)))) y=[y(1),y(
www.eeworm.com/read/224480/14588426

m ex5_11.m

G=tf(1.5,[1,2,3]); t=0:0.1:2*pi; u=sin(t); y=lsim(G,u,t); plot(t,u,t,y) figure u=sin(2*t); y=lsim(G,u,t); plot(t,u,t,y)
www.eeworm.com/read/123833/14611569

m exp2_4_.m

close all clc clear %定义时间范围 t=[0:pi/20:9*pi]; hold on %允许在同一坐标系下绘制不同的图形 plot(t,sin(t),'r:*') plot(t,cos(t)) plot(t,-cos(t),'k') grid on %在所画出的图形坐标中添加栅格,注意用在plot之后 hold off %覆盖旧图
www.eeworm.com/read/123833/14611588

m exp2_4.m

close all clc clear %定义时间范围 t=[0:pi/20:9*pi]; figure(1) %选择图像 plot(t,sin(t),'r:*') grid on %在所画出的图形坐标中添加栅格,注意用在plot之后 grid off %删除栅格 figure(2) plot(t,cos(t)) grid on grid off
www.eeworm.com/read/223663/14621350

c 1cpdv.c

#include "math.h" void cpdv(pr,pi,m,qr,qi,n,sr,si,k,rr,ri,l) int m,n,k,l; double pr[],pi[],qr[],qi[],sr[],si[],rr[],ri[]; { int i,j,mm,ll; double a,b,c,d,u,v; void cmul(doubl
www.eeworm.com/read/223481/14639297

m specfun.m

function y = specfun(x,M,h) fei = sin(pi*M*h)/M/sin(pi*h); y=0; for n =1 : M y = y + 1/M * (sinc( x - 0.5*( 2*n -1-M)*h)).^2; for m = 1:M alpha(n,m) = pi*h*( m+ n-1-M);