代码搜索结果

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

main3_1b.cpp

// Section 7.3.1 // $ CC ptrswap.cpp main3_1b.cpp /* Before ptrswap(): pi: 10 pj: 20 After ptrswap(): pi: 20 pj: 10 */ #include using std::cout; using std::en

ch04.04.c

// #include // #include #include #include #include /***** pi: 4 *pi: 4 st1: 12 st2: 12 ps: 4 *ps: 12 short : 2 short* : 4

show_tan.c

#include #include void main(void) { double pi = 3.14159265; printf("Tangent of pi is %f\n", tan(pi)); printf("Tangent of pi/4 is %f\n", tan(pi / 4.0)); }

chap5_5s.m

function [sys,x0,str,ts] = spacemodel(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

chap5_6s.m

function [sys,x0,str,ts] = spacemodel(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

chap8_6.m

%Discrete Sliding Mode Control with grey model prediction clear all; close all; ts=0.001; n=2; N1=1500; I=eye(n); N=n+3; c=15; Ce=[c 1]; a=25;b=133; A1=[0 1;0 -a]; B1=[0;b]; C1=[25

chap10_6s.m

function [sys,x0,str,ts] = spacemodel(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

chap10_3s.m

function [sys,x0,str,ts] = spacemodel(t,x,u,flag) switch flag, case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 3, sys=mdlOutputs(t,x,u); case {2,4,9} sys=[]; otherwise erro

chap10_5s.m

function [sys,x0,str,ts] = spacemodel(t,x,u,flag) switch flag, case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 3, sys=mdlOutputs(t,x,u); case {2,4,9} sys=[]; otherwise erro

chap10_2s.m

function [sys,x0,str,ts] = spacemodel(t,x,u,flag) switch flag, case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 3, sys=mdlOutputs(t,x,u); case {2,4,9} sys=[]; otherwise erro