Skip to main content
10 events
when toggle format what by license comment
Jul 2, 2014 at 11:50 answer added John McGee timeline score: 3
Jul 2, 2014 at 9:06 comment added MichaelS Sorry, read your comment after writing mine. I will try this :) Thank you!
Jul 2, 2014 at 9:05 comment added MichaelS Yep, that's right! I thought already about the command 'ComplexExpand', sometimes it does the right thing.
Jul 2, 2014 at 9:05 review First posts
Jul 2, 2014 at 9:23
Jul 2, 2014 at 9:00 comment added Kuba Well, it does matter since you want some kind of MMa script, I and i behaves differently. Is this waht you are after?: expr = a + I*b + d - I*e + r; Row[(ComplexExpand[{1, I} Through[{Re, Im}[expr]]]), "+"] or more safe but with additional brackets HoldForm[+##] & @@ (ComplexExpand[{1, I} Through[{Re, Im}[expr]]])
Jul 2, 2014 at 8:56 comment added MichaelS Thanks, but it should not be a mathematica input, only to demonstrate the problem :D
Jul 2, 2014 at 8:55 comment added Kuba So you need I and to use == not = first of all.
Jul 2, 2014 at 8:53 comment added Kuba Is i meant to be an imaginary unit?
Jul 2, 2014 at 8:52 history edited Kuba CC BY-SA 3.0
deleted 2 characters in body; edited tags
Jul 2, 2014 at 8:48 history asked MichaelS CC BY-SA 3.0