Re: Plot[] problem (plnr) - help !!!
- To: mathgroup at smc.vnet.net
- Subject: [mg15971] Re: Plot[] problem (plnr) - help !!!
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 19 Feb 1999 03:26:56 -0500
- Organization: Universitaet Leipzig
- References: <7ag3bt$aj1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
look to the difference of SetDelayed[] (sort :=) and Equal[] (short ==)
Hope that helps
Jens
Alexander Sirotkin wrote:
>
> Hi.
>
> I'm trying to do most trivial and simple thing - define
> some function and then Plot[] it. However, I get some very
> weird error - " ...is not a machine-size real number at ..."
>
> Here is the code :
> a[0]==1
> a[1]==0.99/50000
> H[w] == 20Log[10,Sum[a[k] Exp[I 2Pi w(-k)], {k,0,1}]]
> Clear[H]
> Plot[H[w], {w, 1, 100}]
>
> I've seen some articles (even at www.wolfram.com) about that
> problem, but NONE of them proposed a working solution !!!
>
> Just putting Evaluate[] inside the Plot[] does nothing...