Monday, 26 August 2013

MATLAB: Using 'syms', getting error "Undefined function 'sym' "

MATLAB: Using 'syms', getting error "Undefined function 'sym' "

I'm trying to do some simple symbolic math in MATLAB and I'm getting the
error "Undefined function 'syms' for variable type 'char' ". I am
following a tutorial and doing exactly what they're doing, and then I get
this error! This is what I'm putting into MATLAB
syms a b c x
f = sym('a*x^2 + b*x + c');
Then it throws the error. Help is much appreciated, thanks!

No comments:

Post a Comment