代码搜索结果
找到约 10,000 项符合
1 的代码
exa1_46_1.m
% exa1-46_zero_pole_gain.m for example 1-46
% zero/pole gain
clear all;
b=[0.3 0.2]; %sytem parameter
a=[1 -0.4 -0.7]; %sytem parameter
zr=roots(b)
pk=roots(a)
g=b(1)/a(1)
exa1_49_1.m
% exa1-49_state_space_2nd_order_representaion.m for example 1-49
% from state-space to 2nd ordered representation
clear all;
b=[0.3 0.2]; %sytem parameter
a=[1 -0.4 -0.7]; %sytem parameter
[A,B
5_1_6_1.c
unsigned char keybuf; //键值缓存器
unsigned char p1keyj(void) //判键子程序
{unsigned char x;
x=(P1IN&0X07); //P10--P12接有按键
return(x); //有按键返回 非0
}
unsigned char
5_1_5_1.c
unsigned char disbuffer[8]={0,1,3,8,0xf,5}; //定义了8个字节的显示缓冲区
unsigned char seg[]={0x3f,0x06,0x5b,0x4f, //显示字符的段码表
0x66,0x6d,0x7d,0x07,
0x7f,0x6f,0x77,0x7c,
0x39,0x5e,0x79,0x71,
0xbf,0x86,0xd
shiti1_5_1.cpp
#include
struct Point
{
float x;
float y;
};
class Line
{
public:
Line(float m,float n)
{
a=m;
b=n;
}
void Print()
{
cout
shiti1_4_1.cpp
#include
class CStatic
{
public:
CStatic(){val++;}
static int val;
};
int CStatic::val=0;
void main()
{
cout
ch1_1.rc2
//
// CH1_1.RC2 - resources Microsoft Visual C++ does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
/////