I have 2 symbolic variables 'a' and 'b', and an exponent 'm'. At the end of some calculations the symbolic expression that Matlab provides is in the form:
I want to ask if there is a function that allow me to rewrite it in the form:
I know that I can do it by hand, but I have at least 200 terms to rewrite in this way.
Thanks very much for the help.