搜索资源列表
Gaussian--and-LU
- 计算方法中解线性方程组的列主元高斯消元法及LU分解,由键盘输入系数矩阵A的大小和内容、及矩阵b的内容-Calculation methods listed in the main solution of linear equations Gaussian elimination method and LU decomposition, the coefficient matrix A by the keyboard input size and content, and the content
FRACTIONAL_DIFFERINTEGRAL
- 通过傅里叶扩展计算的微分和积分函数,十分有用。-Descr iption The n-th order derivative or integral of a function defined in a given range [a,b] is calculated through Fourier series expansion, where n is any real number and not necessarily integer. The necessa
ex
- (1)一个包含10个元素的数组,已按升序排序,输入一个任意的整数,将该整数插入数组中,使数组元素仍保持升序排列。 要求编写一个通用的插入排序函数InsertSort,它带有三个参数,第一个参数是含有n个元素的数组,这n个元素已按升序排序;第二个参数给出当前数组中元素的个数;第三个参数是要插入的整数。该函数的功能是将一个整数插入到数组中,然后进行排序。另外还需要一个用于输出数组元素的函数Print,要求每一行输出5个元素。 (2)编程求下列两个矩阵的加法(结果矩阵的元素值是这
CeShi2
- 已知复数矩阵A求A的逆矩阵B,这个过程比较复杂。- finding the inverse matrix
u1_zhiluzhuijiaqiuzukongjuzhen
- 利用支路追加法求阻抗矩阵,解:输入数据如下: 请输入节点数:n=a 请输入支路数:nl=b 请输入由支路参数形成的矩阵: B=[i j z bc t it ......]其中ij为支路端点,z为支路阻抗,bc为对地电容,t为变压器变比,it表示i端点是否与变压器直接相连。 -Seek additional method using branch impedance matrix
files
- eigvec Eigenvectors and their geometric multiplicity. eigval Eigenvalues and their algebraic multiplicity. EIGSHOW presents a graphical experiment showing the effect on the the unit circle of the mapping induced by various 2-by-2 matrices. d
Gseidel
- Main program with a data file for the resolution of a system Ax=b The data file contents the dimension n and the values of the matrix A and the vector b.
LU2
- Method of resolution system Ax=b with a LU method. The program needs a data file, for reading the values of the components of the matrix A and the vector b.
arnoldi-decomposition
- Alnoldi decomposition of matrix used for computing AX =b solution
ok
- 以字符形式打开文件 其中x.txt是数据文件 16进制转化为10进制数,存入alpha矩阵 将得出数据存入新的b.txt文档 - Open the file in characters which are data files x.txt hexadecimal to decimal conversion, alpha matrix deposit will yield data into a new document b.txt
d
- 稀疏矩阵的压缩存储: 实现稀疏矩阵压缩存储,并实现矩阵转置和求和。 输入矩阵时,首先需要输入非零元素的个数,然后分别输入矩阵的 行号,列号和值。 输完2个矩阵后,自动进行计算第一个矩阵的转置以及两个矩阵的和。 例如:输入如下: 100 90 5 //矩阵的行数为100,列数为90,共5个非零元素。 1 10 100 //a(1,10)=100 50 60 200//a(50,60)=200 50 80 100//a(50,80)=10
Cholesky-decomposition
- 实对称正定矩阵的 的Cholesky分解.用平方根法和改进的平方根方法求解线性方程组 Ax=b. -Real symmetric positive definite matrix of the Cholesky decomposition method and improved by the square root of the square root method for solving linear equations Ax = b.
fastest
- 最速下降法求解方程f=1/2x *A*x+b *x求其极小值点,其中梯度g=Ax-b,下降方向p=-g,x为初始点,eps为精度。 注:本程序只适用于二次方程,即方程的A矩阵不含未知数。-Steepest descent method for solving the equation f = 1/2x * A* x+ b * x seeking the minimum point where the gradient g = Ax-b, the descent direction p =-
householder
- 求解一个给定的大规模(<10000个方程)超定线性方程组Ax=b。 读取矩阵A和b; 设计算法求解线性方程组 ,并打印解向量 ; 计算残差e=||Ax-b||,并打印。-Solving a given mass (<10 000 equations) overdetermined system of linear equations Ax = b. Read a matrix A and b Design algorithm for solving linear
LSQR-NNL
- 可用于求解超大规模线性方程组非负解的MATLAB函数-Given a tall full-rank matrix A, solves the nonnegative least squares problem: min ||Ax-b|| s.t. x>= 0 and returns the minimizer x. The argument err is the tolerance used in testing for zeros
BCMUL
- 求m*n阶直矩阵A与n*k阶重短阵B的乘积矩阵C= AB-Find m* n-order linear matrix A and n* k matrix B short-order heavy product matrix C = AB
BRMUL
- 求m*n阶矩阵A与n*k阶矩阵B的乘积短阵.-Find m* n order matrix A and n* k matrix B short order matrix multiplication of.
2013082711183910
- 对于由n个未知数,n个方程组成的组多元一次方程组: a11X1+a12X2+...+a1nXn = b1 a21X1+a22X2+...+a2nXn = b2 ...... an1X1+an2X2+...+annXn = bn 写成矩阵形式为Ax=b,其中A为系数n*n方阵,x为n个变量构成列向量,b为n个常数项构成列向量。当它的系数矩阵可逆,或者说对应的行列式|A|不等于0的时候,由Ax=b可得:x=b*A-1 ,A-1为A的逆矩阵。-For the group consi
delayspre
- required by the algorithm[8]. The step size parameter controls the convergence speed. Hence the algorithm depends on the step size. The step size is a positive constant value which control the size of increment applied in one iteration to the next. T
k
- 用K均值聚类分析把多组数据分成两类 本程序为给定20组数据(用矩阵A表示)分成B、C两组。-K-means clustering analysis of the multiple sets of data into two categories This program is given 20 sets of data (represented by the matrix A) into B, C groups.