Factorizing an expression into a function of one parameter symbolic toolbox

Say I have some general symbolic expression which is a function of many symbolic variables a,b,c,d,e,f... etc. e.g. FF = cos(a)*(sin(a)*cos(b)*c + cos(d)*cos(e)*f) + cos(f)*e + ...
Is there a good tool to express this in the form FF = F_1(a) * F_1(b,c,d,e,f) + F_2(a) * F_2(b,c,d,e,f)) + ... i.e. a series of functions of one parameter (a) and coefficients which are constant with respect to this factor?
Naturally the reason to do this is for integration, the integral over a is not something matlab can do analytically but it is fairly simple to introduce a value for this integral depending on the form of these functions, if it can be expressed in this form of course.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Configure Simulation Conditions에 대해 자세히 알아보기

질문:

2014년 7월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by