代码搜索结果
找到约 10,000 项符合
6 的代码
fig6_6.m
% Use this program to reproduce Fig. 6.6 of text
close all
clear all
taup = 1;
b =20.;
up_down = 1.;
taux = -1.5*taup:.01:1.5*taup;
fd = 0.;
mu = up_down * b / 2. / taup;
ii = 0.;
for tau =
chapter6_6.m
%PID Controller
clear all;
close all;
ts=0.001;
sys=tf(5.235e005,[1,86.35,1.047e004,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
u_1=0.0;u_2=0.0;u_3=0.0;
r_1=rand;
y_1=0;y_2=0;y
bo6-6.c
/* bo6-6.c 二叉树的三叉链表存储(存储结构由c6-7.h定义)的基本操作(21个) */
Status InitBiTree(BiPTree *T)
{ /* 操作结果: 构造空二叉树T */
*T=NULL;
return OK;
}
void DestroyBiTree(BiPTree *T)
{ /* 初始条件: 二叉树T存在。操作结果:
c6-6.h
/* c6-6.h 二叉树的三叉链表存储表示 */
typedef struct BiTPNode
{
TElemType data;
struct BiTPNode *parent,*lchild,*rchild; /* 双亲、左右孩子指针 */
}BiTPNode,*BiPTree;
main6-6.c
/* main6-6.c 检验bo6-6.c的主程序 */
#define CHAR /* 字符型 */
/*#define INT /* 整型(二者选一) */
#include"c1.h"
#ifdef CHAR
typedef char TElemType;
TElemType Nil=' '; /* 字符型以空格符为空 */
#endif
#ifd
examp6_6.m
[x,u,y,dx]=trim('c6nlsys')
[x,u,y,dx]=trim('c6nlsys',[],1)
exercise6_6.java
import javax.swing.JOptionPane;
public class Exercise6_6 {
static String output = "";
/** Main method */
public static void main(String[] args) {
// Prompt the user to enter year
Strin
chapter6_6.m
%PID Controller
clear all;
close all;
ts=0.001;
sys=tf(5.235e005,[1,86.35,1.047e004,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
u_1=0.0;u_2=0.0;u_3=0.0;
r_1=rand;
y_1=0;y_2=0;y