0

My Matlab is 2008b version

when I give the following command :

x=syms('x')

it return the follwing message :

??? Undefined function or method 'syms' for input arguments of type 'char'.

and the same for the command of the form :

 syms c1 c2 x 

how to run the symbol math in Matlab 2008b ?

3 Answers3

1

It is possible that you do not have the appropriate toolbox installed.

Run the command ver on the command line, and check whether the Symbolic Toolbox is one of the installed toolboxes.

Jonas
  • 74,690
  • 10
  • 137
  • 177
0

You can go in your Matlab installation path and click to uninstall the program. When it asks you to select, select modify and then in the installation page, you can select any toolbox you have not installed yet to be installed.

spenibus
  • 4,339
  • 11
  • 26
  • 35
mahdi
  • 1
0

You can use just :

syms x;

like this:

clc
clear
syms x;
f=(sin(x)^2)+log(x)+sqrt(x-1);
disp(subs(f,x,5));`
Yanga
  • 2,885
  • 1
  • 29
  • 32
RAM
  • 1