MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Optimisation of FourierCoefficients


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
> 
> 
> 


  • Prev by Date: Re: Optimisation of FourierCoefficients
  • Next by Date: Re: Stalled at a point
  • Previous by thread: Re: Optimisation of FourierCoefficients
  • Next by thread: Re: Optimisation of FourierCoefficients