登录
首页 » matlab » PCG

PCG

于 2007-11-16 发布 文件大小:1KB
0 146
下载积分: 1 下载次数: 360

代码说明:

  % SSOR预处理的共轭梯度法求解方程Ax=b % 输入参数说明 % A 正定矩阵[n*n] % b 右边向量 % omega SSOR预处理参数(0--2) % Times 迭代次数 % errtol 给定误差终止条件 % %输出参数 % NewX 方程Ax=b的x近似解 % avgerr 求解的当前平均绝对误差( SSOR preconditioning conjugate gradient method for solving equations Ax = b the input parameter descriptions A positive definite matrix [n* n] b right side vector omega SSOR preconditioning parameters (0- 2) Times iterations errtol termination of a given error condition NewX output parameter equation Ax = b of x approximate solution to solve the current avgerr average absolute error)

文件列表:

PCG.m

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Fortran_Alog_2nd_XuShiLiang
    Fortran算法集徐士良版,数值模拟,矩阵运算、线性方程求解、非线性方程求解、插值、数值积分(Fortran algorithm set Xu tillian version, numerical simulation, calculation of matrix, linear equations, nonlinear equations, interpolation, numerical integration)
    2017-12-20 22:53:53下载
    积分:1
  • diag
    滤波程序,从同事那里要的,大家一起交流学习(BADNELL & BURGESS D.A.M.T.P. CAMBRIDGE C C DIAGONALIZATION OF REAL SYMMETRIC N-BY-N MATRIX Z. C C METHOD: HOUSEHOLDER REDUCTION TO TRI-DIAGONAL FORM AND SHIFTED C QL ALGORITHM TO DETERMINE THE E-VALUES AND E-VECTORS. C C BASED ON MARTIN, REINSCH & WILKINSON: NUM. MATH. 11, 181-95 (1968). C C INPUT REQUIRED. N, IUP AND Z. ONLY LOWER TRIANGLE OF Z NEED BE SUPPLIED. C MATRIX Z OVERWRITTEN BY EIGENVECTORS OF Z. C IUP=1/-1 ASC/DESCENDING SORT, 0 NO SORT. C MXMAT, IS THE ROW DIMENSION OF Z IN THE CALLING ROUTINE. C C OUTPUT. Z AND D, WHERE Z CONSISTS OF COLUMN EIGENVECTORS C AND D CONSISTS OF CORRESPONDING EIGENVALUES. C C NOTE: E IS A WORKING ARRAY. C)
    2012-07-29 20:36:54下载
    积分:1
  • Gauss-Seidel
    说明:  经过优化的C代码实现的Gauss-Seidel 迭代算法(Optimized C code of the Gauss-Seidel iterative algorithm)
    2011-03-25 23:43:11下载
    积分:1
  • pre-distortion
    针对功放得到非线性失真,采用查表法预失真对功放的非线性进行补偿,仿真表明了补偿方式的有效性。(Obtained for nonlinear distortion amplifier, using the look-up table predistortion to compensate for non-linear power amplifier, simulation shows the effectiveness of compensation.)
    2013-11-20 16:15:34下载
    积分:1
  • 信号检测贝叶斯
    使用Matlab编程,对教材74页例3.3.1进行编程仿真。其中,正电压A的值、噪声方差值、每个码元周期内的采样点数N自行设定(可设置为可调的变量)。噪声值可使用Matlab中产生高斯随机数的函数来进行仿真。贝叶斯检测判决式中,先验概率P(H1)=P(H0),判断错误的代价因子设为1,判断正确的代价因子设为0. 按照上述参数的设定进行仿真,实现对仿真数据的贝叶斯检测判决;循环生成仿真数据,并进行判决结果的统计,即记录判决正确的次数,估计正确判决的概率。(The use of Matlab programming, teaching materials 74 pages of 3.3.1 programming simulation. Among them, the value of positive voltage A, the variance of noise, the number of sampling points in each symbol cycle (N) can be set by itself (adjustable variable). Noise values can be simulated using the function of generating Gauss random numbers in Matlab. In the Bias detection decision, the prior probability P (H1) =P (H0), the factor of error judgment is set to 1, and the correct cost factor is set to 0. According to the simulation parameters and realize the judgment of Bayesian detection simulation data; generating cycle simulation data, statistics and decision, which records the correct number of judgment, the estimated probability of correct decision.)
    2021-04-19 14:08:51下载
    积分:1
  • firfilter
    MFC实现快速傅里叶变换(FFT)MFC实现快速傅里叶变换(FFT)(MFC MFC Fast Fourier Transform (FFT) fast Fourier transform (FFT))
    2020-12-22 20:09:08下载
    积分:1
  • mom
    矩量法仿真电磁辐射和散射的源代码(c++) (Moment Method Simulation of electromagnetic radiation and scattering of the source code (c++))
    2021-03-20 23:59:18下载
    积分:1
  • PID自动控制电机转速
    说明:  利用pid算法控制电机转速,转速可调,数码管显示,初学者实用(Using PID algorithm to control motor speed, adjustable speed, digital display, beginners practical)
    2020-06-22 16:00:01下载
    积分:1
  • gmm-4.2.tar
    Generic templates of algorithms for sparse matrixs
    2013-07-12 10:49:08下载
    积分:1
  • arc-length-theory
    有限元弧长法控制计算的原理,中文英文的都有,并介绍了具体程序的流程图(Finite element calculation of arc-length method control principle, Chinese English have, and describes specific procedures flowchart)
    2013-10-19 10:50:45下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载