-
arrow3.m.tar
matlab中实现箭头的程序,直接作为函数使用。(matlab realize the arrow in the procedure)
- 2009-02-12 12:46:51下载
- 积分:1
-
LS-SVMlab-Toolbox
最小二乘支持向量机工具想的设计,及其使用工具箱的指导手册。(The least squares support vector machine tool design think its use toolbox guidance manual.)
- 2013-01-16 20:36:33下载
- 积分:1
-
11087 统计逆序对
说明: Description
设a[0…n-1]是一个包含n个数的数组,若在ia[j],则称(i, j)为a数组的一个逆序对(inversion)。
比如 有5个逆序对。请采用类似“合并排序算法”的分治思路以O(nlogn)的效率来实现逆序对的统计。
一个n个元素序列的逆序对个数由三部分构成:
(1)它的左半部分逆序对的个数,(2)加上右半部分逆序对的个数,(3)再加上左半部分元素大于右半部分元素的数量。
其中前两部分(1)和(2)由递归来实现。要保证算法最后效率O(nlogn),第三部分(3)应该如何实现?
此题请勿采用O(n^2)的简单枚举算法来实现。
并思考如下问题:
(1)怎样的数组含有最多的逆序对?最多的又是多少个呢?
(2)插入排序的运行时间和数组中逆序对的个数有关系吗?什么关系?
输入格式
第一行:n,表示接下来要输入n个元素,n不超过10000。
第二行:n个元素序列。
输出格式
逆序对的个数。
输入样例
5
2 3 8 6 1
输出样例
5(Set a[0... N-1] is a n array containing n numbers. If there is a [i] > a [j] i n the case of I < j, then (i, j) is a n inversion pair of a array.
For example, has five reverse pairs. Please use the idea of "merge sorting algorithm" to achieve the statistics of inverse pairs with O (nlogn) efficiency.
The number of inverse pairs of a sequence of n elements consists of three parts:
(1) The number of reverse pairs in the left half, (2) the number of reverse pairs in the right half, (3) the number of elements in the left half is greater than that in the right half.
The first two parts (1) and (2) are implemented by recursion. To ensure the final efficiency of the algorithm O (nlogn), how should the third part (3) be implemented?
Do not use O (n ^ 2) simple enumeration algorithm to solve this problem.)
- 2019-01-07 23:52:06下载
- 积分:1
-
1
说明: 利用有限差分法求解雷诺方程,进而可以求解气体静压轴承的特性(The Reynolds equation is solved by the finite difference method, and the characteristics of aerostatic bearing can be solved.)
- 2018-05-19 18:05:08下载
- 积分:1
-
3
说明: 下三角复矩阵求逆的ASIC设计及实现
论文 pdf(Lower triangular complex matrix inverse of the ASIC Design and Implementation of)
- 2009-09-25 22:51:57下载
- 积分:1
-
vumat_hashin_stress_zerosetting_1
该损伤模型通过
商用有限元软件ABAQUS /Explicit 的用户子程序VUMAT 实现,并使用该模型对碳纤维增强环氧树脂
复合材料层合板在横向低速冲击作用下的损伤和变形行为进行预测分析. 数值仿真的结果与试验结
果进行了比较,吻合良好,验证了该模型的有效性.(Through coding user subroutine VUMAT of finite element software ABAQUS /explicit,
and applied the model to an example,carbon fiber reinforced epoxy composite laminates
under low velocity impact,the prediction for damage and deformation were good agreement
with the experimental results.)
- 2021-04-11 10:08:58下载
- 积分:1
-
nihe
说明: 在matlab环境下能进行各种曲线拟合的算法,非常好。(In the matlab environment to conduct various kinds of curve fitting algorithms, very good.)
- 2008-09-21 18:10:58下载
- 积分:1
-
CMA-Evolutionary--Strategies
Covariance Matrix adaptation ES for optimizing
- 2020-12-14 22:39:14下载
- 积分:1
-
random4
(一) 模拟产生一个正态随机序列X(n),要求自相关函数满足
画出产生的随机序列波形。
((A) simulation to generate a normal random sequence X (n), required to meet the autocorrelation function of random sequences generated by the waveform plot.)
- 2011-05-07 11:27:33下载
- 积分:1
-
jingmiu_v15
雅克比迭代求解线性方程组课设,esprit算法对有干扰的信号频率进行估计,利用matlab写成的窄带噪声发生。( Jacobi iteration for solving linear equations class-based, esprit algorithm signal frequency interference can be assessed Using matlab written narrowband noise occurs.)
- 2017-04-27 16:47:53下载
- 积分:1