代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
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)
{
/*-------------
p1-98.cpp
#include
//以下是几个简单宏替换预处理指令
#define YES 1
#define PI 3.1415926
#define RAD PI/180
#define MESG "This is a string."
//以下是主程序
main() {
//以下各语句使
p1-12.cpp
#include
const double PI=3.1416; //声明常量(const变量)PI为3.1416
main()
{
//声明3个变量
double r,l,s;
//输入圆的半径
coutr;
//计算圆的周长
p1-100.cpp
#include
#define PI 3.1416
main() {
int i=100;
#if 1
cout
demod_iphase.m
function iphase = demod_iphase (yi,yq)
%Gererate the Instantaneous Phase
%
global k Fc Fd Fs n;
N = length(yi);
iphase = zeros(1,N); % Initialize the iphase.
% if the Inst. Phase is l
b2.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
b1.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
e_141_02.f90
real*8 a, pai, pi_
a=1.d-307; print *, a, 1./a; print *, tiny(a), huge(a)
b=1.e-39 ; print *, b, 1./b; print *, tiny(b), huge(b)
pi =3.14159265358979_8 ; print *, pi ! pi 无双精度定义,仍为单精度。
a =3.
e_121_02.f90
! ------求圆錐体积和表面积------
PROGRAM Example_1_2
REAL :: pi, r, h, v, s
pi = 3.141593
PRINT *,'Input radius r and height h ?'
READ *, r, h
v = pi*h*r**2/3.0
s = pi*r*(r + sqrt(r**2 + h**2))