Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:

Subject: syms

From: Anandabalan

Date: 6 Dec, 2009 08:47:04

Message: 1 of 3

can you please tell me about the command "syms"...
what is the use of the command "syms"???
what it will do???
and also about symbolic math toolbox...
what is the use of it????

Subject: syms

From: Sadik

Date: 6 Dec, 2009 09:12:03

Message: 2 of 3

Hi Anandabalan,

I am not an expert on the Symbolic Toolbox, but this is what I have:

syms defines a number of symbols simultaneously. For example:

syms x y z a b c

defines six symbols. Now, you can use them the way you want:

f = a*x + b*y^2 + c*z/4;

As a result, f will be a symbol again [and you will not need to define it using syms].

Personally, I find the symbolic toolbox useful when I need to do algebraic multiplications [for example, for the multiplication of two polynomials]. Rather than doing it by hand, which is prone to error, It is much easier to define the two polynomials and then multiply them. I can then use the result the way I want in any sort of program.

For further information, you can take a look at the following page:


Subject: syms

From: Anandabalan

Date: 6 Dec, 2009 09:27:04

Message: 3 of 3

thak you for your information sadik...

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us