搜索资源列表
statistical-calculation
- 此代码可以简单实现统计计算的计算器功能,可以求众数,中位数,平均数等!-This code can be simple statistical calculations of the calculator function, you can ask the plural, median, mean, etc.
ZhongWeiShu
- 计算中位数的程序。功能:可计算其绝对值的中位数,也可计算原值的中位数。-Median calculation procedures. Functions: calculate the median absolute value, but also calculate the median of the original value.
select
- 中位数选取法 两个城市中选最短距离,最优的方法-Median selection method
middle-num
- 一个求中位数 算法复杂度为0(n)的小程序-get middle number which time is 0(n)
Digital
- 本程序用于计算和输出地理数据的各种数字特征,包括平均数,中位数,极差,方差,均方差,变异系数,偏度,峰度等,从而可绘制它的频率直方图,累积频率图 -This procedure for calculation and output of a variety of digital geographic data characteristics, including mean, median, range, variance, mean square error, coefficient of
maandianhezhongweishu
- 矩阵的马鞍点和求中位数的算法,西安电子科技大学复试机试题-failed to translate
TextFile1
- 该题要求读入n个整数,然后输出该n个整数的中位数。同时输入的数的个数是奇数的时候,中位数是唯一的;当输入的数是个数是是偶数的时候,求两个中位数的平均值,然后下取整输出。 一般来说,我们可以将这些数存在数组当中,然后对数组进行排序,最后利用数组下标查找即可。但也可以不排序找到中位数。毕竟排序是将所有数都放在合适的位置上,而查找中位数的操作只需要将中位数放在合适的位置即可。 下面就是不排序查找中位数的版本。事实上,下述解法其实是快速排序的一个变种。在n为奇数的情况下,下述代码运行
PostDistance
- 本作业为邮局选址问题。在该问题中,求邮局的最佳位置即求坐标的中位数。分解来看,即分别寻找X和Y坐标的中位数。 类设计如下:设计一个PostCal的类。计算X,Y坐标的中位数方法selectMedian(),其中partition()用于将大问题分解为子问题使用。最后有一个计算邮局到各居民点的路径总和int calSum()。 类中包含构造函数PostCal(),主要功能是实现文件读写,结果计算及输入输出。 类中包含取居民点个数的变量 num。-This job is a pos
medi
- 设X[0:n-1]和Y[0:n-1]为2 个数组,每个数组中含有n 个已排好序的数。试设计一个 O(log n)时间的算法,找出X 和Y 的2n 个数的中位数。-Let X [0: n-1] and Y [0: n-1] for the two arrays, each array containing the n number has been sorted. Try to design an O (log n) time algorithm to find the X and Y 2n
medo
- 设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。 编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n<=200),表示每个数组有n个数。接下来的两行分别是X,Y数组的元素。结果输出 程序运行结束时,将计算出的中位数输出到文件output.txt中-Let X [0: n- 1
Post-Office
- 算法设计与分析中邮局选址问题。 select(int[] array, int begin, int end, int middle)将n个输入元素划分成n/5个组,每组5个 元素,只可能有一个组不是5个元素。用任意一种排序算法,将每组中的元素排好序,并取出每组的中 位数,共n/5个。找出这n/5个元素的中位数。如果n/5是偶数,就找它的2个中位数中较大的一个。 以这个元素作为划分基准。在调用时,只需要将middle参数传入array.length/2就能找到整个数组中的
The-divide-and-conquer-algorithm
- 分治算法求解两个有序数组的中位数,求解过程比较详细-Divide and conquer algorithm for solving two ordered arrays median
key-words
- 首先将输入的数字按照大小排序,然后根据数字的个数输出中位数;-First, the input digital sorted according to size, and then outputs the number of digits according to the median
erlang2
- Erlang实现顺序编程: 1. 将两个有序列表合并成一个有序列表 2. 冒泡排序 3. 打印九九乘法表 4. 求列表的中位数,要求平均复杂度O(N) -Erlang achieve sequential programming: a merger of the two ordered lists into an ordered list 2 Bubble Sort 3 Print multiplication table 4 lists the median demand,
keynote
- 图像处理matlab程序,各种滤波,均值滤波,中位数滤波等-Various face filter: mean filter, median filter, histogram equalization
The-calculation-of-probability
- F分布,反函数,正态分布函数,中位数,计算角度值格式互换-The calculation of probability.rar
OilPide
- 利用中位数求解方法解决传统的输油管道问题-solution to the question of oil pide
boxplot-in-C
- 应用C++实现箱线图,求出最小值 第一四分位点 中位数 第三四分位点 最大值 并用+号-号画出箱线图 -Application C++ achieve boxplot, find the lowest point in the first quartile median third quartile, and the maximum number with+- No. draw boxplot
chapter17
- 描述性统计,包括峰值,中位数、方差、均值、偏度等求法代码-Descr iptive statistics, including peak, median, mean, variance, skewness and other method code
fws
- 统计分析中使用较多的均值、方差、标准差、极差、变异系数、偏度及丰度,中位数、下四分位数、上四分位数、四分位极差、下截断点、上截断点-Statistical analysis using more mean, variance, standard deviation, range, coefficient of variation, skewness and abundance, median, lower quartile, upper quartile, interquartile poor,