Spectrum Analysis (Fourier)
08-15-2018, 07:54 PM (This post was last modified: 08-15-2018 09:31 PM by toshk.)
Post: #1
 toshk Member Posts: 192 Joined: Feb 2015
Spectrum Analysis (Fourier)
compile compile compile compile!!!!
The plot you see after a successful run is Magnitude Plot;
For Phase plot; plot D3;

I
Spect()
Under this notation in F0 with Xrange of a period or integer multiple of T.
eg. F0 for sin(X) in Xrng 0 to 2*pi or -pi to +pi
eg. 1*Heaviside(X)+-1*Heaviside(X-1) Xrng 0 to 2; this defines PiecewiseFunction of X=1 between 0 and 1; X=0 elsewhere repeating at a T=2;

II
spect(lowerLimit, Period)
Under this notation plot in F0; don't care about Xrng but specify the range in function call.
eg. F0 for sin(X); call function spect(0,2*pi) OR spect(-pi,2*pi); bcos sinX T=2pi always.
the ~Fourier plot can be found under Function app. Press plot under Function App.
eg. 1*Heaviside(X)+-1*Heaviside(X-1); PiecewiseFunction of X=1 between 0 and 1; X=0 elsewhere;
function call spect(0,2) for T=2; check plot on Function App;  complex function:
COS(X)+sin(2X)+COS(3X+.11)+2 at F0
fo(rads/s) for this function is gcd(1,2,3) in exact CAS; hence T=2*pi/gcd(1,2,3)
under I notation
plot F0 for Xrng 0 to T or 0 to integer*T; then Spect();

under II
plot F0 then spect(0,T)
08-16-2018, 06:27 AM
Post: #2
 Aries Member Posts: 155 Joined: Oct 2014
RE: Spectrum Analysis (Fourier)
Great, thank you, toshk Best,

Aries « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)