Get the subexpressions of a live script
1 view (last 30 days)
Show older comments
I want to retrive the sigma_n subexpressions in the live script. Is there a way to do it. I searched but couldnt find it.
Moreover some of the this sigma_n subsexpressions i want to to equalize to zero in the main expression dUs2. If after i find the sgma_n subsepressions can i make subs(dUs2,sigma1,0) or something like that.
Thanks for the help.
dUs2 =
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/284341/image.png)
1 Comment
Walter Roberson
on 14 Apr 2020
It is not clear what you are asking for, but I speculate that you might be looking for coeff()
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!