搜索资源列表
Quadratic-Programming
- 功能:用拉格朗日方法求解等式约束二次规划:min f(x)=0.5*x Hx+c x,s.t.Ax=b 输入:H,c分别是目标函数的矩阵和向量,A,b分别是约束条件中的矩阵和向量 输出:(x,lam)是KT点,fval是最优值。-Function: Lagrangian method for solving equality constrained quadratic programming: min f (x) = 0.5* x Hx+ c x, s.t.Ax = b Input:
ju
- 特征值分解(B级) 功能要求: a) 输入一个对称正方矩阵A,从文本文件读入; b) 对矩阵A进行特征值分解,将分解结果:即U矩阵、S对角矩阵输出至文本文件; c) 将最小特征值对应的特征向量并输出至文本文件; d) 验证其分解结果是否正确。 说明:矩阵特征值分解被广泛运用于土木工程问题的数值计算中,如可用于计算结构自振频率与自振周期、结构特征值屈曲问题等-Eigenvalue Decomposition (B grade) Functional requiremen
按位就座
- 依次将待转置矩阵A的三元组行列互换后,直接放到转置矩阵B的三元组表中的正确位置。需考虑两方面因素:一是矩阵A每列中非零元素的个数(即转置矩阵B每一行中非零元素的个数);二是矩阵A各列中第一个非零元素三元组在B中的正确位置(即矩阵B各行中第一个非零元素三元组在B中的正确位置)。(In turn, the row of three tuples of the transposed matrix A is exchanged and placed into the correct position o
wpsnr.m
- This function displays the PSNR (peak signal-to-noise ratio) between two images. The answer is in decibels (dB). PSNR is very common in image processing. A sample use is in the comparison between an original image and a coded/decoded image. Typica
随机数产生
- 根据状态转移概率矩阵A、观测值出现概率矩阵B、和各状态初始分布概率来产生随机数组。(According to the state transition probability matrix A, the probability matrix B of observed values and the probability of initial distribution of all States, we generate random arrays.)