[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: matrix with parameters
From: |
Sebastian Schöps |
Subject: |
Re: matrix with parameters |
Date: |
Sat, 1 Jul 2017 10:15:37 -0700 (PDT) |
Colin Macdonald-2 wrote
> On 01/07/17 03:37 AM, f.g.fornari wrote:
> 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
Thanks Colin for giving the Octave example. In my experience, it's often
better to clearly seperate between numerics and symbolics (even though
reality is nowadys rather grey than black&white). This is not meant to
discredite the symbolic package.
--
View this message in context:
http://octave.1599824.n4.nabble.com/matrix-with-parameters-tp4683959p4683963.html
Sent from the Octave - General mailing list archive at Nabble.com.