Skip to main content
2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/

Question changed - answer doesn't match question, but does match subject

I answered this question recently. It originally mentioned some issues with IFFT, but mostly appeared to be focused on wrapping numbers to the +/-pi range because they thought that was the solution to the problem.

I gave an answer mentioning the builtin MATLAB function to do it and how to implement it if that toolkit isn't available. However, in discussion in the answer's comments I realized that the OP was having a different issue and the wrapping was a red herring. I had them update the question, and in the comments on the question we worked out what was actually going on.

Now my answer has nothing to do with the actual question, but it still matches the wrapping mentioned in the question title, and I feel it would be a useful answer for someone wanting to wrap phase angles.

Should I just delete the answer at this point because it no longer matches the updated question? The updated question has some problems - I'm not sure it will be helpful to other users at all. Should the whole thing be deleted at this point?

Katie
  • 1.3k
  • 7
  • 6