[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Symbols, matrices and functions
From: |
Juan Pablo Carbajal |
Subject: |
Re: Symbols, matrices and functions |
Date: |
Mon, 8 Jul 2013 16:10:44 +0200 |
On Mon, Jul 8, 2013 at 3:21 PM, Jordi GutiƩrrez Hermoso
<address@hidden> wrote:
> On 6 July 2013 08:52, Prolegius <address@hidden> wrote:
>> Hello I am new to octave (used Matlab before) I need to do some operations
>> involving matrices of this sort:
>>
>> A=[ cos (t1) 0 sin (t1) 0 ]
>> [ sin (t1) 0 -cos(t1) 0 ]
>> [ 0 1 0 l1 ]
>> [ 0 0 0 1 ]
>>
>> I have declared t1, l1 as symbols (symbols t1=sym('t1') l1=sym('l1') )
>> however I am still getting errors when I declare the matrix. HOW CAN I
>> DECLARE THIS MATRIX ? AND LATER ON CAN I MULTIPLY AND CROSS MATRICES OF THIS
>> SORT? PLEASE HELP !
>
> YOU CAN'T SORRY. THE SYMBOLIC PACKAGE IS BROKEN.
>
> - JORDI G. H.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
if you need to work symbolically you better look into sympy, maxima or sage.
If you just need the numbers define values for your variables and it
should work.