Calculation of abs() and angle() of a symbolic expression - strange behaviour
Show older comments
Hi.
I have come across some strange behaviour of the abs() and angle() function in symbolic calculations:

The first result is as expected. The second should be calculated with equal ease as 

but matlab just rewrites the expression using the | | sign.
Similar behaviour applies to the angle function
Why is this happening and how to force matlab to do the calculation also in the second case?
Marek
Accepted Answer
More Answers (0)
Categories
Find more on Programming 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!