Wow~
The way Maple handles the symbols is just amazing!!!
Really appreciated for dedicated replies!

We just found how to find max and min.
What about sort?
Can we sort the numbers in "a" variable?
Using an array of "a" variable.. (ie. a[0], a[1] ...)
Thanks,

We just found how to find max and min.
What about sort?
Can we sort the numbers in "a" variable?
Using an array of "a" variable.. (ie. a[0], a[1] ...)
Thanks,

I modified the above code to use an array little bit:
a[1]:=w1+w2-w3:
a[2]:=-w1+2*w2:
a[3]:=2*w1-w2-2*w3:
a[4]:=-w1+w2-w3:
a[5]:=-w1+w2+w3:
b:=w3>w2,w2>w1,w1>0,w2-w1>w3-w2:
max(a) assuming b
I faced the following error:
*;Error, (in assuming) when calling 'simpl/max'.
Received: 'arguments must be of type algebraic'*
Any suggestion?
Thanks,

I modified the above code to use an array little bit:
a[1]:=w1+w2-w3:
a[2]:=-w1+2*w2:
a[3]:=2*w1-w2-2*w3:
a[4]:=-w1+w2-w3:
a[5]:=-w1+w2+w3:
b:=w3>w2,w2>w1,w1>0,w2-w1>w3-w2:
max(a) assuming b
I faced the following error:
*;Error, (in assuming) when calling 'simpl/max'.
Received: 'arguments must be of type algebraic'*
Any suggestion?
Thanks,

Hi Alec,
From the above example,
After FourierTransform, w has both positive and negative sides.
f:=(2*cos(t)+1.5*cos(3*t)+3*cos(4*t))/Pi:
How can I plot positive side w only?
Which means...w1 = 1, w2 = 3, w3 = 4 with amplitude of 2, 1.5, and 3 accordingly.
Also,
In plots, how can I specify frame and numpoints?
Here is an example from you.
http://beta.mapleprimes.com/forum/plotting-the-dirac-function
In the case, you specified the framed and numpoints...
plot([s,0], t=0..3000/fc, title="AM Waveform (fm = 4kHz)",
titlefont=[HELVETICA,16], font=[HELVETICA,12],
labels=["Time (s)", "Amplitude"], labeldirections=[HORIZONTAL,VERTICAL],
color=[red,black], **axes=framed, numpoints=500**);
S := inttrans[fourier](s,t,f);
Thanks,

Hi Alec,
From the above example,
After FourierTransform, w has both positive and negative sides.
f:=(2*cos(t)+1.5*cos(3*t)+3*cos(4*t))/Pi:
How can I plot positive side w only?
Which means...w1 = 1, w2 = 3, w3 = 4 with amplitude of 2, 1.5, and 3 accordingly.
Also,
In plots, how can I specify frame and numpoints?
Here is an example from you.
http://beta.mapleprimes.com/forum/plotting-the-dirac-function
In the case, you specified the framed and numpoints...
plot([s,0], t=0..3000/fc, title="AM Waveform (fm = 4kHz)",
titlefont=[HELVETICA,16], font=[HELVETICA,12],
labels=["Time (s)", "Amplitude"], labeldirections=[HORIZONTAL,VERTICAL],
color=[red,black], **axes=framed, numpoints=500**);
S := inttrans[fourier](s,t,f);
Thanks,

Thanks for the advice!
Seems I need more exercise with the Math tools :-)

Thanks for the advice!
Seems I need more exercise with the Math tools :-)

Thanks for the guide!
In Mathematica, I typed the following expression.
Cos(w1 t)/Cos(1)
Then it gives me w1
In Maple format, I typed
cos(w1 t)/cos(1)
Then it give me cos(w1 t)/cos(1)
Why is it different?
How can I have the same result in Maple?
Is there other ways to extract frequency domains?
i.e) cos(w1*t+w2*t)
I want to save w1+w2 into an array to post-processing.
Thanks!

Thanks for the guide!
In Mathematica, I typed the following expression.
Cos(w1 t)/Cos(1)
Then it gives me w1
In Maple format, I typed
cos(w1 t)/cos(1)
Then it give me cos(w1 t)/cos(1)
Why is it different?
How can I have the same result in Maple?
Is there other ways to extract frequency domains?
i.e) cos(w1*t+w2*t)
I want to save w1+w2 into an array to post-processing.
Thanks!

Thanks for the comment!
By the way, do you know good reference books to learn Maple?
Particulary in communication area.

Thanks for the comment!
By the way, do you know good reference books to learn Maple?
Particulary in communication area.

Can you explain the "op" statement in more easy ways?
or any helpgul websites??
Thanks,

Can you explain the "op" statement in more easy ways?
or any helpgul websites??
Thanks,