代码搜索结果
找到约 10,000 项符合
Switch 的代码
ber.m
function [y]=ber(snr,modulation_type,fading_type);
%根据调制方式和衰落方式计算单链路ber
switch fading_type
case 'Rayleigh'
switch modulation_type
case 'BPSK'
y=(1-sqrt(
chap7_15m.m
function [u]=pid_aw1f1(u1,u2,u3,u4)
e=u2;
un=u3;
us=u4;
M=2;
switch M
case 1 %PID
u=e;
case 2 %Anti-windup PID
umin=0;
umax=10;
ua=(umin+umax)/2;
if
chap7_15m.m
function [u]=pid_aw1f1(u1,u2,u3,u4)
e=u2;
un=u3;
us=u4;
M=2;
switch M
case 1 %PID
u=e;
case 2 %Anti-windup PID
umin=0;
umax=10;
ua=(umin+umax)/2;
if
chap7_15m.m
function [u]=pid_aw1f1(u1,u2,u3,u4)
e=u2;
un=u3;
us=u4;
M=2;
switch M
case 1 %PID
u=e;
case 2 %Anti-windup PID
umin=0;
umax=10;
ua=(umin+umax)/2;
if
main._c
/************************************************************
文 件:main.c
用 途:演示矩阵键盘的库函数和七段数码管的库函数的使用
Target : M16
Crystal: 1.0000Mhz
说 明:标有[]的为与key_3中不同的地方
创 建:2008.2.20
修 改:2008.2.20
main.c
/************************************************************
文 件:main.c
用 途:演示矩阵键盘的库函数和七段数码管的库函数的使用
Target : M16
Crystal: 1.0000Mhz
说 明:标有[]的为与key_3中不同的地方
创 建:2008.2.20
修 改:2008.2.20
usbdrv.c
/* Name: usbdrv.c
* Project: AVR USB driver
* Author: Christian Starkjohann
* Creation Date: 2004-12-29
* Tabsize: 4
* Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH
* License: GNU G
51_00_os.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
usbdrv.c
/* Name: usbdrv.c
* Project: AVR USB driver
* Author: Christian Starkjohann
* Creation Date: 2004-12-29
* Tabsize: 4
* Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH
* License: GNU G
imm_prn.c
#include
#include
#include
#include
#include "feedef.h"
/* function : set immediate record print selection
* called by : phone_record_proc()
* d