symbolic function with specific properties
2 views (last 30 days)
Show older comments
I need to implement the symbolic function E(m(x)), where x = [x1, ..., xN] are symbolic variables, with the folowing property:
- m(x) is monomial of x .... m(x) = x1^p1 * x2^p2 * ... * xN^pN, where pj >=0 ... integer power value, j = 1,2,...,N
- E(m(x)) = E(x1^p1 * x2^p2 * ... * xN^pN) = E(x1^p1) * E(x2^p2) * ... * E(xN^pN)
- E(c) = 0, where c is any other symbolic value
Examples:
E(x1^2*x2) = E(x1^2)*E(x2)
E(x1*x2^3*x3) = E(x1)*E(x2^3)*E(x3)
E(2) = 0
E(a*b) = 0
E(c^3) = 0
Any hints?
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!