help-octave
[Top][All Lists]
Advanced

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

Re: matrix with parameters


From: Colin Macdonald
Subject: Re: matrix with parameters
Date: Sat, 1 Jul 2017 09:23:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 01/07/17 03:37 AM, f.g.fornari wrote:
thanks Sebastian.
i didn't understand if symbolic package can work with such matrix or not.
anyway, I've just downloaded maxima, and trying to work with that.

Good luck. In case you do want to try again with Octave and the Symbolic pkg:

>> pkg load symbolic

>> syms a

>> A = [a, 0; 0, a]
A = (sym 2×2 matrix)

  ⎡a  0⎤
  ⎢    ⎥
  ⎣0  a⎦

>> det(A)
ans = (sym)

   2
  a

best,
Colin



reply via email to

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