help-octave
[Top][All Lists]
Advanced

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

About simplify symbolic expression


From: Rui Pereira
Subject: About simplify symbolic expression
Date: Wed, 19 Oct 2011 04:04:41 -0700 (PDT)

Hello,

I have a question about OCTAVE.
I normally use Matlab and you can use symbolic toobox which allows you to
simplify
symbolic variables.
Is there in OCTAVE anything similar?
For instance in Matlab if I write:

"syms x1 x2
f=sin(x1)*sin(x1)+cos(x1)*cos(x1)+x2*x2*x1
simplify(f)
"
I obtain,

"f =
 
x1*x2^2 + cos(x1)^2 + sin(x1)^2
 
 
ans =
 
x1*x2^2 + 1
 "

How can I do the same in GNU OCTAVE?

Thanks a lot,
Rui Pereira

--
View this message in context: 
http://octave.1599824.n4.nabble.com/About-simplify-symbolic-expression-tp3918238p3918238.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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