psambit9791 / jdsp

A Java Library for Digital Signal Processing
https://jdsp.dev
MIT License
240 stars 45 forks source link

DFT output for positive mirror not correct length #12

Closed psambit9791 closed 3 years ago

psambit9791 commented 3 years ago

The full DFT output should be of length equal to the signal length. The mirrored (only positive) length should be equal to (length of signal)/2 + 1. But the mirrored output length is computed as (length of signal)/2.

psambit9791 commented 3 years ago

Fixed in commit 3c6be691c15549fa9ee4a57d4ebd082170489f88.