Got Questions? Get Answers.
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

Thread Subject:
How to use the coefficients of the symbolic variables

Subject: How to use the coefficients of the symbolic variables

From: João Salvador

Date: 9 Dec, 2012 23:56:15

Message: 1 of 2

So how can I take the information of the coefficient multiplied by the symbolic variable

for example

c = 3*W1_1+4*W1_2

How can I get the 3 and 4 on a vector or something else to manipulate after?

Subject: How to use the coefficients of the symbolic variables

From: Steven_Lord

Date: 10 Dec, 2012 03:15:04

Message: 2 of 2



"Joo Salvador" <ujoaosalvador@gmail.com> wrote in message
news:ka38ev$sdq$1@newscl01ah.mathworks.com...
> So how can I take the information of the coefficient multiplied by the
> symbolic variable
>
> for example
>
> c = 3*W1_1+4*W1_2
>
> How can I get the 3 and 4 on a vector or something else to manipulate
> after?

Look at the COEFFS function.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for 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