Re: Symbolic inverse of a 12x12 matrix
- From: Madhusudan Singh <spammers-go-here@xxxxxxxxxxxx>
- Date: Sun, 17 Apr 2005 14:39:18 -0400
spasmous wrote:
> Actually I retract what I said - MATLAB bails out after a few minutes
> for a 10x10 symbolic inverse.
>
>
> syms A a b c d e f g h i j k l m n o p q r s t u v w x y z;
> syms aa bb cc dd ee ff gg hh ii jj kk ll mm nn oo pp qq rr ss tt uu vv;
> A = [a 0 b 0 c 0 d 0 e 0 ;
> f 0 0 g h 0 0 i j pp;
> 0 k l 0 0 m n o 0 0 ;
> p 0 0 q r s 0 0 t 0 ;
> 0 u 0 v w 0 x y 0 qq;
> aa 0 0 bb 0 0 cc 0 0 rr;
> 0 dd ee 0 0 0 ff 0 gg 0 ;
> hh ii 0 0 0 0 0 0 jj 0 ;
> 0 0 0 0 0 kk ll mm nn ss;
> tt 0 0 0 uu 0 0 0 vv 0];
>
> B=inv(A);
> ??? Error using ==> sym.inv
> Error, (in normal/nlinear) integer too large in context
Thanks for the two posts though. I could have wasted some time trying out
matlab for this.
Mathematica is happily handling the problem (the raw inverse of the 12x12
matrix takes about 11 seconds), except that a subsequent FullSimplify step
to clean up the expressions is causing some memory problems on some
machines.
Matlab/octave are good for numerical problems involving matrices (though I
would always code anything that needed a lot of speed in f95) but as far as
symbolic stuff goes, Mathematica is very nearly the king (my experience of
maxima is limited, and of maple, almost non-existent).
.
- Follow-Ups:
- Re: Symbolic inverse of a 12x12 matrix
- From: Bob Lewis and Susan Lewis
- Re: Symbolic inverse of a 12x12 matrix
- References:
- Re: Symbolic inverse of a 12x12 matrix
- From: Gordon Sande
- Re: Symbolic inverse of a 12x12 matrix
- From: spasmous
- Re: Symbolic inverse of a 12x12 matrix
- Prev by Date: Re: Symbolic inverse of a 12x12 matrix
- Next by Date: Re: Computer Algebra Algorithms lisp vs. C.
- Previous by thread: Re: Symbolic inverse of a 12x12 matrix
- Next by thread: Re: Symbolic inverse of a 12x12 matrix
- Index(es):
Relevant Pages
|
|