views:

238

answers:

1

how can i create symbolic variables in matlab 2009? because it doesn't work for "sym" o "syms" command.

+3  A: 

You'll need the symbolic toolbox installed. If you have that installed, this document provides an introduction to working with it.

To see if you have the toolbox installed, just try one of the examples:

>> sqrt(sym(2))

You should get:

ans = 2^(1/2)
Alex

related questions