The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Which fft package does matlab use?
Replies: 4   Last Post: Apr 1, 2013 11:09 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Which fft package does matlab use?
Posted: Apr 1, 2013 11:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message
>> GFlopsMM(s) = NIter*2*size(A,1)^3/1e9/t;
>> GFlopsFFT(s) = NIter*5*N*log2(N)*N/1e9/t2;

> So you assume that:
> (1) the computer does not use any multi-threading during MM or FFT?
> (2) MATLAB matrix multiplication is O(n^3) (which is not the optimal)?
> (3) memory access data are negligible (usually not right)?

(4) Performance is the only goal or the main goal behind FFT

Getting the correct answer quickly is best. [*]
Getting the correct answer slowly is good.
Getting the wrong answer slowly is bad (because you're likely to investigate
the code for performance improvements, which may lead you to detect that the
code returns the wrong answer.)
Getting the wrong answer quickly is worst.

Taking this beyond the logical extreme: MATLAB could be very, very fast if
it simply returned [] for all operations. Of course, that wouldn't be very
useful now would it?

[*] Different applications have different definitions of "the correct
answer" -- for instance, this wouldn't satisfy the definition used by

But for Quake 3's graphics calculations, it was good enough.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.