Info

This question is closed. Reopen it to edit or answer.

How can I write a symbolic vector function n(q, w) as c(q, w)*w + g(q)?

3 views (last 30 days)
Here q and w are vectors as well. For example if I have n(q, w) as cos(w1)*cos(q1)*w1 + q1 I want to get c(q, w) as cos(w1)*cos(q1) and g(q) as q1.

Answers (2)

madhan ravi
madhan ravi on 24 Nov 2018
Edited: madhan ravi on 24 Nov 2018

Walter Roberson
Walter Roberson on 24 Nov 2018
See coeff()

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!