⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testchol.m

📁 LU decomposition routines in matlab
💻 M
字号:
%% testchol.m%%% Use the Cholesky decomposition decomposition % to solve a linear system with symmetric positive % definite matrix.%%A = [ 16  4  8  4       4 10  8  4       8  8 12 10       4  4 10 12];b = [ 32      26       38      30 ];disp( ' The system matrix A  ')disp( A )disp( ' and the right hand side vector b ')disp( b )disp( ' The Cholesky decomposition computed using the Matlab CHOL command')disp( chol(A) )disp( ' The Cholesky decomposition computed using MYCHOL')disp( ' (C is stored in the upper triangular part)')AA = A;[AA,iflag] = mychol( AA );disp( AA )

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -