代码搜索结果
找到约 10,000 项符合
6 的代码
sample6_6.cs
/*
* 示例程序Sample6_6: Interpolation类的连分式等距插值
*/
using System;
using CSharpAlgorithm.Algorithm;
namespace CSharpAlgorithm.Sample
{
class Class1
{
[STAThread]
static void Main(string
ex6_6.m
% EX6_6.M Taylor series example
% Calculate error in Taylor series expansion (6 terms) of exp(x)
format long
x=1.0
yexact=exp(1)
nfact=5*4*3*2*1;
yseries=1+x+(x^2)/2+(x^3)/(3*2)+(x^4)/(4*3*2) +(
ch6_6.c
/*ch6_6*/
/*找出100~200之间的能被7整除的数并输出*/
#include
main()
{
int n;
for(n=100;n
index6_6.htm
vti_encoding:SR|utf8-nl
vti_author:SR|YY\\wjykkkk
vti_modifiedby:SR|YY\\wjykkkk
vti_timelastmodified:TR|07 Mar 2006 03:10:22 -0000
vti_timecreated:TR|07 Mar 2006 03:10:22 -0000
vti_cacheddtm:TX|0
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
prg6_6.c
// File: prg6_6.c
#include /* These are the usual header files */
#include /* for bzero() */
#include /* for close() */
#include
bo6-6.c
/* bo6-6.c 二叉树的三叉链表存储(存储结构由c6-7.h定义)的基本操作(21个) */
Status InitBiTree(BiPTree *T)
{ /* 操作结果: 构造空二叉树T */
*T=NULL;
return OK;
}
void DestroyBiTree(BiPTree *T)
{ /* 初始条件: 二叉树T存在。操作结果: