| Author |
Comment/Response |
Beat Tödtli
|
03/28/01 2:53pm
Hi, In my function
fourierplot[f_,{x_,min_,max_}]:=Module[{fourier},
fourier=FourierTransform[f,x,k];
Print[''F[k]='',fourier];
Plot[fourier,{k,min,max}]];
I don't manage to keep the variable k local. For,
fourierplot[f_,{x_,min_,max_}]:=Module[{k, fourier},
fourier=FourierTransform[f,x,k];
Print[''F[k]='',fourier];
Plot[fourier,{k,min,max}]];
doesn't work (for example, in
fourierplot[UnitStep[x+1/2] UnitStep[1/2-x],{x,-50,50}]
)
What's the Problem?
URL: , |
|