Good morning, does anyone have C code using cbrev() and rfft() functions of DSP lib? I have noticed that the example given in \examples\rfft, referred on SPRU518C, page 4-69, calls rfft() right after calling cbrev(). There is something wrong here, as cbrev() returns a complex output vector (page 4-12, argument r[2*nx]) and the input vector for rfft() has to have only real elements (page 4-68, argument x[nx]). Isn't it wrong to use a complex vector as input to rfft()? I think so... Any info will be helpful. Thanks in advance, Believer |