Why doesn’t this work?
freq = 10.0*^6
FourierSeries[SquareWave[freq*t], t, 5]
All Mathematica does is throw my expression back at me.
Thanks.
Why doesn’t this work?
freq = 10.0*^6
FourierSeries[SquareWave[freq*t], t, 5]
All Mathematica does is throw my expression back at me.
Thanks.
Perhaps the frequency is too high and there is trouble splitting the interval into so many subintervals. Compare
PiecewiseExpand[SquareWave[10*t], 0 < t < 2 Pi]
PiecewiseExpand[SquareWave[20*t], 0 < t < 2 Pi]