MathGroup Archive 2007

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

Search the Archive

Re: Optimisation of FourierCoefficients


Thanks to all of you.

Solution from dh, Peter Pein and Jens-Peer work.

I have to learn more about the way Mathematica works.

Edmund


"Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de> schrieb im Newsbeitrag 
news:f0f8mp$jl8$1 at 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
>>
>>
>>
> 




  • Prev by Date: More help on the Signals&Systems package
  • Next by Date: Re: Exporting images without white borders
  • Previous by thread: Re: Optimisation of FourierCoefficients
  • Next by thread: equation solving in a markov model