hanson
Sep24-08, 02:05 PM
I am trying to find the conjugate of some expression in which there are both real numbers and complex numbers, e.g.
F = a + c*i
where both a and c are real constants.
I have defined a and c as sym ('a') and sym('c') previously.
And when I find the conjugate of F, it return F* = conj (a) -i*conj(c)
something like that.
Can I actually tell MATLAB that both a and c are real, so that it will return F* = a-ci?
Please help.
F = a + c*i
where both a and c are real constants.
I have defined a and c as sym ('a') and sym('c') previously.
And when I find the conjugate of F, it return F* = conj (a) -i*conj(c)
something like that.
Can I actually tell MATLAB that both a and c are real, so that it will return F* = a-ci?
Please help.