Replacement/substitution by complex rules
Show older comments
Hello, is there any function that I can use to apply the complex rules for general use ?
For example, given a function --- abs(x+y)^2, we know this can be expressed in the following complex form : i.e.
abs(x+y)^2 = (x+y) * conj(x+y)
As far as I know, Mathematica has such function like
Abs[x_] -> Sqrt([x Conjugate[x]])
Therefore, I'm wondering if Matlab also provides has the replacement function similar to Mathematic's.
Any advice is highly appreciated. Many thanks in advance.
2 Comments
Azzi Abdelmalek
on 19 Jun 2013
Edited: Azzi Abdelmalek
on 19 Jun 2013
What are *? if they are not part of your code, please remove them, also it's not clear for me what you are asking
MINGYEN CHEN
on 20 Jun 2013
Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!