On 2013-02-28, Marshall, John <j.marshall at geos.com> wrote:
> However, using the command fft( ) on the 2048 element array results in
> maxima producing an outputg40613 with the numeric part incrementing by
> one, each execution.
As fft does not modify its argument, gnnnnn is actually the name of an
array that it constructs to store the return value. Try this:
foo : fft (datalist);
for i : 0 thru 2047 do print (foo [i]);
I think you'll see the values in the array.
It's probably more convenient to work with lists (i.e. foo : [1, 2, 3])
instead of arrays. fft(some_list) returns a list.
HTH
Robert Dodier