## 120 Reputation

16 years, 270 days

## With a different amplitude of signal?...

Hi, Does anyone know why the following doesn't work? I just changed amplitude of cos(t) to be 2cos(t). Somehow Maple doesn't like the expression. Error, (in unknown) improper op or subscript selector Any idea? How can I tickmarks for value in Y-axis? f:=(2*cos(t)+cos(3*t)+cos(4*t))/Pi: S:=inttrans[fourier](f,t,w); F:=S->map(x->plottools[line]([-op([1,2],x),0],[-op([1,2],x),1]),[op(S)]): plots[display](F(S),color=blue, tickmarks=[[-4="-w3",-3="-w2",-1="-w1",1="w1",3="w2",4="w3"],[0=0]],labels=[`w[Rad/sec]`,Amplitude],view=[-6..6,0..5]); Thanks!

## With a different amplitude of signal?...

Hi, Does anyone know why the following doesn't work? I just changed amplitude of cos(t) to be 2cos(t). Somehow Maple doesn't like the expression. Error, (in unknown) improper op or subscript selector Any idea? How can I tickmarks for value in Y-axis? f:=(2*cos(t)+cos(3*t)+cos(4*t))/Pi: S:=inttrans[fourier](f,t,w); F:=S->map(x->plottools[line]([-op([1,2],x),0],[-op([1,2],x),1]),[op(S)]): plots[display](F(S),color=blue, tickmarks=[[-4="-w3",-3="-w2",-1="-w1",1="w1",3="w2",4="w3"],[0=0]],labels=[`w[Rad/sec]`,Amplitude],view=[-6..6,0..5]); Thanks!

I got it. I thought there is a way to draw the plot in symbolic ways. I used classic Maple 10. Thanks for comments! 1 2 3 Page 3 of 3