Re: Optimisation of FourierCoefficients
- To: mathgroup at smc.vnet.net
- Subject: [mg75251] Re: Optimisation of FourierCoefficients
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sun, 22 Apr 2007 05:08:33 -0400 (EDT)
- References: <f09gh3$12c$1@smc.vnet.net>
Hi,
and
obj[y_?NumericQ] := Abs[Fourier[{y, 1}][[1]]]
FindMinimum[obj[y], {y, 2}]
gives you an other error message but the DFT
is done correctly.
Regards
Jens
Edmund wrote:
> I want to find the minimum of a Fourier-Coefficient as a function of the
> input values.
>
> FindMinimum[Abs[Fourier[{ y, 1}][[1]]], {y, 2}]
>
> The actual problem is a little more complicated, but even this simple
> statements gives the error messages I can't understand.
>
> Fourier::fftl: Argument {y, 1} is not a non-empty list or rectangular array
> \
> of numeric quantities.
>
>
> Any suggestion ?
>
> best regards
>
> Edmund
>
>
>