代码搜索结果
找到约 10,000 项符合
6 的代码
c6-6.h
// c6-6.h 二叉树的三叉链表存储表示
typedef struct BiTPNode
{
TElemType data;
BiTPNode *parent,*lchild,*rchild; // 双亲、左右孩子指针
}BiTPNode,*BiPTree;
chap6_6.htm
小 结
f6_6.m
%产生线性调频信号
sig=fmlin(200,0.1,0.4);
%计算Wigner-Ville分布
[tfr,t,f]=tfrwv(sig);
%计算一阶和二阶矩
[tm,T2]=momftfr(tfr);
%结果显示
figure(1);
plot(f,tm,'LineWidth',2);
xlabel('频率 f');
ylabel('一阶矩 tm');
figu
chapter6-6.cpp
//文件名:CHAPTER6-6.cpp
#pragma warning(disable:4786)
#include
#include
using namespace std ;
typedef vector INTVECTOR;
void main()
{
INTVECTOR thevector;
thevec
ex6_6.cpp
#include
void swap(double *d1,double *d2){
double temp;
temp=*d1;*d1=*d2;*d2=temp;
}
void main(void){
double x,y;
couty;
cout