|
|
FFT complex numerical errorSummary
This may lead to a very small but nonzero imaginary component. For example, if a unity signal results in an error of However, some functionality in Matlab or Octave (example: plotting) will switch into complex mode if any imaginary part is encountered. More than one novice user has been scratching his head over this issue, and the question remains popular on comp.dsp. The solution is to use real(...) to remove the imaginary part. © Markus Nentwig 2007-2008 The content of this page is provided without any warranty and may not be reproduced without permission. Comments? Questions?Please send me a mail! mnentwig@elisanet.fi |