help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

## Re: use of symbolic toolbox for the inverse of a matrix

 From: Martin Helm Subject: Re: use of symbolic toolbox for the inverse of a matrix Date: Thu, 29 Sep 2011 19:29:37 +0200

```Am Donnerstag, den 29.09.2011, 18:47 +0200 schrieb george brida:
> Dear Octavers,
> I have the following matrix A:
> A(1,1)=T ;  A(1,2)=T*(T+1)/2  ;
> A(2,1)=T*(T+1)/2 ; A(2,2)= T*(T+1)*(2*T+1)/6
>
> I would like to find the inverse of this matrix in this general form.
> Can you please help me,
> thank you in advance.
> George.
I do not know how to do that with the symbolic package, but you can
easily do that with maxima (http://maxima.sourceforge.net) which is
actually a (free as in speech and free as free beer) computer algebra
system unlike octave which has focus on numerics and not symbolic
computations.

in maxima type:

A: matrix([T,T*(T+1)/2],[T*(T+1)/2, T*(T+1)*(2*T+1)/6]);
invert(A);

```

reply via email to

 [Prev in Thread] Current Thread [Next in Thread]