Cholesky factorization on symbolic matrix

5 views (last 30 days)
Hi all,
I want to use Cholesky factorization on some symbolic matrices but I am still working with R2007b, quite an old version.
I met error message when I did it.
Is there any other way out to do this in R2007b?
I do have an authorized R2011a but the toolboxes are not included. (I have no idea why my school did not purchase the full version.)
So guess I cannot, for this time being, work with R2011a unless I know how to transfer all the toolboxes from my current version to the latest one.
Could anyone tell me how to do this? (Just copy all the files?)
Thanks in advance.

Accepted Answer

Kai Gehrs
Kai Gehrs on 17 May 2011
If you want to do the computation inside of MuPAD, you can use
n:= 4:
A:= matrix([[c.i.j $ i = 1..n] $ j = 1..n]):
The option 'NoCheck' means that it is not checked whether A is symmetric and positive definite.
  1 Comment
Chien-Chia Huang
Chien-Chia Huang on 17 May 2011
Thanks, Kai. But MuPad is contained in new Matlab version. I did not found it in my "antique" R2007b.

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 16 May 2011
Toolboxes cannot be transferred between versions.
Walter Roberson
Walter Roberson on 17 May 2011
I would suggest
maple('Chol := C->LinearAlgebra[LUDecomposition](Matrix(C,form=symmetric),method=Cholesky)':);
syms a b c d e f
C = [1 a b c;a 1 d e;b d 1 f;c e f 1];
maple('Chol', C);

Sign in to comment.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by