Asked by Matlaber
on 22 Mar 2019 at 14:52

What is the meaning of the result i get when i run matlab code:

1.2428 - 0.0003i

1.2320 - 0.0003i

1.2250 - 0.0002i

1.2376 - 0.0003i

1.2332 - 0.0004i

Answer by Walter Roberson
on 22 Mar 2019 at 14:54

Adam
on 22 Mar 2019 at 16:00

It bears no real relation to size. How 'big' the result is is determined by

doc abs

of that complex result. In this case you are nowhere near an integer though, even if you ignore the small imaginary part, though ignoring imaginary parts in an answer you expect to be real is rarely a good idea unless you are 100% convinced they are the result of rounding errors, as most of the time getting a complex result when you expect a real one implies something is wrong in your calculation.

Stephen Cobeldick
on 22 Mar 2019 at 16:01

"Is that mean imaginary unit means the answer is very small?"

No:

If your high-school did not teach complex numbers then you missed out on a very important mathematical concept. There are plenty of good tutorials online which introduce complex numbers.

Walter Roberson
on 22 Mar 2019 at 18:20

Sign in to comment.

Opportunities for recent engineering grads.

Apply Today
## 0 Comments

Sign in to comment.