-
一维FFT程序,只要更改主函数中的测试信号,即可用于其它信号
一维FFT程序,只要更改主函数中的测试信号,即可用于其它信号-One-dimensional FFT procedure, as long as the changes in the main function of the test signal can be used for other signals
- 2023-03-09 09:20:02下载
- 积分:1
-
动态规划中的传送阵算法
魔法世界的小明要乘传送阵到其目的地,传送阵有不同的规模大小,且只能由规模小的传送阵传送到规模大的传送阵。小明已经知道目的地的传送阵比他现在所在的传送阵规模大,且在这两个传送阵规模之间,有n-2个不同的传送阵。小明发挥起了聪明才智,将这些传送阵按规模大小标为1到n号,当然了1号就是起始地点,n号是目的地。 自然我们有,这n个标号的传送阵,号小的能去号大的,号大的不能去号小的。小明也测量了一些传送阵到另一些传送阵的时间,至于没有测量的时间的道路,小明不希望走(万一这条路传送阵失灵呢….)。 现在问题来了,小明最短需要多久才能到目的地呢?
- 2022-06-11 20:04:24下载
- 积分:1
-
使用队列模拟理发馆的排队现象,通过仿真手法评估其营业状况。...
使用队列模拟理发馆的排队现象,通过仿真手法评估其营业状况。-use cohort simulation barber"s shop, the queues, through simulation methods to assess its financial situation.
- 2022-02-05 01:45:57下载
- 积分:1
-
Dijkstra s Algorithm
Dijkstra s Algorithm -- Shortest path (Dijkstra s Algorithm)-Dijkstra s Algorithm-- Shortest path (Dijkstra s Algorithm)
- 2022-06-28 23:41:59下载
- 积分:1
-
JSEG Image segmentation algorithm
JSEG 影像分割算法,详细的程序,需要自己建立工程才能使用。该算法采用的是C++和C语言编写的程序,该程序主要用于影像处理方面。希望对从事这个方面的人有所帮助。
- 2022-07-11 19:29:53下载
- 积分:1
-
2^k进制数
设r是个2^k 进制数,并满足以下条件:
(1)r至少是个2位的2^k 进制数。
(2)作为2^k进制数,除最后一位外,r的每一位严格小于它右边相邻的那一位。
(3)将r转换为2进制数q后,则q的总位数不超过w。
在这里,正整数k(1≤k≤9)和w(k<W≤30000)是事先给定的。
问:满足上述条件的不同的r共有多少个?
我们再从另一角度作些解释:设S是长度为w 的01字符串(即字符串S由w个“0”或“1”m组成),S对应于上述条件(3)中的q。将S从右起划分为若干个长度为k 的段,每段对应一位2k进制的数,如果S至少可分成2段,则S所对应的二进制数又可以转换为上述的2k 进制数r。
例:设k=3,w=7。则r是个八进制数(23=8)。由于w=7,长度为7的01字符串按3位一段分,可分为3段(即1,3,3,左边第一段只有一个二进制位),则满足条件的八进制数有:
2位数:高位为1:6个(即12,13,14,15,16,17),高位为2:5个,…,高位为6:1个(即67)。共6+5+…+1=21个。
3位数:高位只能是1,第2位为2:5个(即123,124,125,126,127),第2位为3:4个,…,第2位为6:1个(即167)。共5+4+…+1=15个。
所以,满足要求的r共有36个。
- 2023-04-14 17:30:03下载
- 积分:1
-
canny edge detector
The Canny edge detector is an edge detection operator that uses a multi-stage 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-06-25 17:35:03下载
- 积分:1
-
交通仿真(排队论)小程序
This is the project of my course in the USA:
Customers
arrive at a service station (with a single server) according to the Poisson
process with a mean arrival rate of lambda = 0.3 (customers/min). Each customer
waits in queue (if present), proceeds to receive service upon his/her turn, and
departs the system when the service is completed. The service time is uniformly
distributed between 2.5 and 4.5 minutes. On each day, the service station is
open for two hours. Any customers in queue at the end of work hours are served
before closing the service station for the day. Use simulation (do 100
simulation runs) to determine
- 2023-02-02 14:55:04下载
- 积分:1
-
基于回溯法解决n后问题
资源描述此程序是利用回溯法的思想,来解决N皇后问题。利用C#语言进行开发,可以更加直观的观察回溯法的运用步骤。
- 2022-09-04 05:45:02下载
- 积分:1
-
sound_check_by_MCU
通过MCU检查声音
- 2022-07-07 00:57:08下载
- 积分:1