iPhone Accelerate Framework FFT vs Matlab FFT

后端 未结 3 1776
日久生厌
日久生厌 2020-12-15 11:49

I do not have much math background but part of the project I am working on requires the FFT of a single vector. The matlab function fft(x) works accurately for what I need,

3条回答
  •  眼角桃花
    2020-12-15 12:21

    I think it could also be an array packing issue. I have just been looking at their sample code, and I see they keep calling conversion routines like

    vDSP_ctoz
    

    Here is the code sample link from apple: http://developer.apple.com/library/ios/#documentation/Performance/Conceptual/vDSP_Programming_Guide/SampleCode/SampleCode.html#//apple_ref/doc/uid/TP40005147-CH205-CIAEJIGF

    I dont think it is the full answer yet, but I also agree with Paul R.

    By the way, just curiously if you go to Wolfram Alpha, they give a completely different answer for FFT{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}

提交回复
热议问题