搜索资源列表
DSpproject3
- 1. Consider the FIR system described by H(z) = 1/16(-1 + 9z--2 + 16z-3 + 9z--4 - z-6), and plot the pole-zero locations in the z-plane.-1. Consider the FIR system described by H(z) = 1/16(-1+ 9z--2+ 16z-3+ 9z--4- z-6), and plot the pole-zero location
DFT
- 题目:离散富立叶变换(DFT)和频谱分析.matlab实现 1信号函数h(t)= e-a*t*tsin(2πft)2编程计算的离散富立叶变换(DFT)和IDFT图像。3计算振幅谱,相位谱以及检测信号主频-Title: Discrete Fourier Transform (DFT) and spectral analysis. Matlab function to achieve a signal h (t) = ea* t* tsin (2πft) 2 programming computin
exp7-1
- 实现二叉树b的各种运算: 1. 输出二叉树; 2. 输出 H 结点的左·右孩子结点值; 3. 输出二叉树b的深度; 4. 输出二叉树b的宽度; 5. 输出二叉树b的结点个数; 6. 输出二叉树b的叶子结点个数。-Binary Tree b to achieve a variety of computing: 1. Output tree 2. Output the children of node H child nodes around node val
fr
- Write a Matlab program which solves the initial value problem y = (xy − y2)/x2, y(1) = 2, by the order four Runge-Kutta method, over the interval [1, 3] using steps of h = 1/128. The exact solution to this problem is given by y(x) = x/
puke
- 编号为1-52张牌,正面向上,从第2张开始,以2为基数,是2的倍数的牌翻一次,直到最后一张牌;然后,从第3张开始,以3为基数,是3的倍数的牌翻一次,直到最后一张牌;然后…从第4张开始,以4为基数,是4的倍数的牌翻一次, 直到最后一张牌;...再依次5的倍数的牌翻一次,6的,7的 直到 以52为基数的 翻过,输出:这时正面向上的牌有哪些?-#include "stdio.h" void main() {/*采用数组存储,循环嵌套实现*/ int i,j in
homeplanet
- 人类必须在最短的时间内迁往月球。现有n个太空站位于地球与月球之间,且有m 艘公共交通太空船在其间来回穿梭。每个太空站可容纳无限多的人,而每艘太空船i 只可容纳H[i]个人。每艘太空船将周期性地停靠一系列的太空站,例如:(1,3,4)表示该太空船将周期性地停靠太空站134134134…。每一艘太空船从一个太空站驶往任一太空站耗时均为1。人们只能在太空船停靠太空站(或月球、地球)时上、下船。初始时所有人全在地球上,太空船全在初始站。 试设计一个算法,找出让所有人尽快地全部转移到月球上的
DSP
- Tutorial of filter: design a lowpass FIR filter of cutoff requency 0.3*pi. Plot the impulse responses h(n) and magnitude responses of the designed filters
clock
- 1. 首先建立一个基本对话的exe工程,并命名为time; 2. 在BOOL CTimeDlg::OnInitDialog()函数内建立一个计时器,SetTimer(1,1000,NULL) 3. 再用classwizard建立消息响应函数void CTimeDlg::OnTimer(UINT nIDEvent),在里面输入代码如下:Invalidate() 4. 再用classwizard建立消息响应函数void CTimeDlg::OnDestroy(),在里面输入代码如下:
aglo7
- (一) 编写一个程序LAGO7-1.CPP,实现二叉树的各种运算,并在此基础上设计一个主程序完成如下功能。 (1) 输出二叉树B; (2) 输出二叉树B的深度; (3) 输出H结点的左、右孩子结点值; (4) 输出二叉树B的宽度; (5) 输出二叉树B的结点个数; 输出二叉树B的叶子结点个数 -(A) to prepare a program LAGO7-1.CPP, to achieve a variety of binary operations, and on
1
- #include <mega8.h> #include <stdio.h> #include <delay.h> #include <mega8.h> #include <stdio.h> #include <delay.h> #define TG PORTB.1 #define RF_Rx PIND.2 #define Busy PIND.3 #define Mess1
4
- #include <mega8.h> #include <stdio.h> #include <delay.h> #include <mega8.h> #include <stdio.h> #include <delay.h> #define TG PORTB.1 #define RF_Rx PIND.2 #define Busy PIND.3 #define Mess1
ds_6
- 1.定义哈希表数据结构。 2.除留余数法做为哈希函数、 H(key) = key P 用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并输出哈希表。 3.编写函数,求查找成功时的平均查找长度(ASL)。-1. Define hash table data structure. 2. In addition to leaving the remainder as the hash function method, H (key) = key P re-hashing
DLink
- 1.求双向循环链表的长度 2.在双向循环链表指定位置插入一个元素 3.给定双向循环链表中一个结点元素值e,要求将数据y插入到元素e的前面 4.给定双向循环链表中一个结点元素值e,要求将数据y插入到元素e的后面 5.给定双向循环链表中一个结点元素值e,要求将数据y插入到元素e的后面 6.删除双向循环链表中指定位置的元素 7.给定双向循环链表中一个结点元素值e,要求将其对应结点删除 8.给定双向循环链表中一个结点元素值e,要求删除对应结点的直接前驱 9.给定双向循环链
lunkuosaomiao
- 城市轮廓线: 输入文件:input1.dat 第一行为建筑个数 之后每行格式为三个数x1 h x2,其中x1,x2是建筑的开始和结束坐标 h是建筑的高度 输出最后轮廓-Urban contour line: the input file: input1.dat first acts after the building number format for each line number 3 x1 h x2, where x1, x2 is the beginn
Lave1
- #include <iostream> #include <stdlib.h> #include <string.h> using namespace std const kl = 4, kzs = 2, m = 6, n = 4, Error = 5 char *K[kl] = {{"01"},{"bB"},{"23456789ACDEFacdef"},{"hH"}} int A[m][n] = {{1,2,2
ALGO3-5
- Algo3-5.c C program for implementing Algorithm 3.5 Algorithm translated to C by: Dr. Norman Fahrer IBM and Macintosh verification by: Daniel Mathews NUMERICAL METHODS: C Programs, (c) John H. Mathews 1995 To accompany the text: NU
orbita_sunsync
- Orbita.m Programa para dibujar un periodo de la orbita de un satélite apartir de los parámetros orbitales Programado a partir de la hoja TUNDRA2.pdf Ramon Martínez, 20-12-2006 Parámetros k=398613.52 en (km^3)/(s^2) Re = 6377 km
huffmancoding
- 格式:[huffcodes,氢,領 ,电子] = huffmancoding(磷,氮) %输入:p是每个字母符号的概率 (如:对= [0.3 0.2 0.2 0.2 .06 .04]) n是一个整数,决定在每个帧的符号数量 (默认:n = 1时) %输出:huffcodes:huffmancodes 答:源熵 甲肝:平均熵编码 电子邮件:科丁效率-format : [huffcodes,H,Hav,e]=huffmancoding(p,n)
wccc
- (1)已知甲数的35 是36,甲数是( )。已知乙数的47 是12,乙数是( )。 (2)40分钟是1小时的( ),1小时的35 是( )分钟。 (3)铅笔的单价是钢笔的920 ,把( )看作单位“1”。 二、根据算式补充条件 (1)停车场有24辆大汽车,( ),有多少辆小汽车? 24÷23 (2)停车场有24辆大汽车,( ),有多少辆小汽车? 24×23 (3)停车场有24辆小汽车,( ),有多少辆大汽车? 24×
dengyi
- CONSX—这是一个主要子程序,调用其它于程序及输出中间结果 * !* CHECK—检查所有的点是否满足约束条件,对违背约束的点进行校正 * !* CENTR—计算中心点 * !* FUNC —目标函数,由用户提供 * - PROGRAM COMPLEX PARAMETER(N=3,M=4,K=6) DIMENSION X(K,M),R(K,N),F(K),G(M),H(M),XC(N) INTEGER GAMMA OPEN(4,FILE= COMPDA