代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/339483/12230760
sh ex47.sh
#!/bin/bash
# printf demo
PI=3.14159265358979
DecimalConstant=31373
Message1="Greetings,"
Message2="Earthling."
echo
printf "Pi to 2 decimal places = %1.2f" $PI
echo
printf "Pi to 9 decimal places
www.eeworm.com/read/339239/12247523
m exm07062_1.m
%exm07062_1.m
clc
x=pi/4;Ve=eval('1+sin(x)')
Vf=feval('1+sin(x)',x)
www.eeworm.com/read/339239/12247620
m exm060251_1.m
t=2*pi*(0:20)/20;y=cos(t).*exp(-0.4*t);
stem(t,y,'g');hold on;stairs(t,y,'r');hold off
www.eeworm.com/read/339239/12248453
m exm110633_1.m
function exm110633_1
shg;R0=1;
a=12*R0;b=9*R0;T0=2*pi;
T=5*T0;dt=pi/100;t=[0:dt:T]';
f=sqrt(a^2-b^2);
th=12.5*pi/180;
E=exp(-t/20);
x=E.*(a*cos(t)-f);
www.eeworm.com/read/150799/12260662
m dengfuqin.m
function dengfuqin
% 转化为.avi格式,让一些播放器能播放
figure;
mov = avifile('example.avi');
x1=[1 2 2.5 3 4];
y1=[0 0 0 0 0];
h1=plot(x1,y1,'linewidth',2,'erasemode','xor');
axis equal
axis off
f
www.eeworm.com/read/252353/12285457
m hallen3.m
clc;clear all;close all;
e=8.854e-12;%介电常数
u=pi*4e-7;%磁导率
c=3e+8;%光速
N=101;%点数
lambda=1;%波长
L=lambda/2;%天线长度
f=c/lambda;%频率
w=2*pi*f;%角频率
k=2*pi/lambda;%波数
eta=120*pi;%波阻抗
a=5*10^(-3);%天线半径
www.eeworm.com/read/252197/12294104
m ip_07_07.m
% MATLAB script for Illustrative Problem 7.7.
clear
echo on
Tb=1;
f1=1000/Tb;
f2=f1+1/Tb;
phi=pi/4;
N=5000; % number of samples
t=0:Tb/(N-1):Tb;
u1=cos(2*pi*f1*t);
u2=cos(2*pi*f2*t);
www.eeworm.com/read/338523/12296893
m ps_falloc.m
function PIs=PS_falloc(chro)
% Allocation process and fitness evaluation
% Use with PS_alloc.m file
% PenChen Chou. 2005-4-18.
global MTX MAX
% Get the numbers of items
[M,N]=size(chro);PIs=
www.eeworm.com/read/338523/12297023
m falloc.m
function PI=falloc(chro)
% Allocation process and fitness evaluation
global MIN_offset MUL_factor MTX MAX
% Get the numbers of items
x=chro;
x=10.^x;
x1=fix(x(1));
x2=fix(x(2));
x3=fix(x(3))
www.eeworm.com/read/338523/12297051
m falloc2.m
function PI=falloc2(x)
% Allocation process and fitness value evaluation
% Used with GA_alloc2.m file.
global MIN_offset MUL_factor MTX MAX MAXV OFFSET
% Get the numbers of items
x=10.^x; %