Search for components in symbolic
Show older comments
Hello. Let's say I have a symbolic function: exp(5*x)*x^3. Is it possible to let MATLAB automatically search for the component within the exponential part (result is 5), and the power of x (result is 3). Thanks!
1 Comment
John D'Errico
on 25 May 2018
I'd suggest your best chance is to use string processing techniques. Do the parsing yourself, since you know what you are looking for.
Accepted Answer
More Answers (0)
Categories
Find more on Common Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!