Está en la página 1de 7

Fourier version 3.

30 for TI-92/TI-92II and TI-89/TI-92+


This packet contains functions to perform Fourier-/inverse Fouriertransformation. A function, which can rewrite the output of
Fourier/iFourie to a form that, can be evaluated numerical. A function
to graph the output.
Keep the functions together in a separate folder with the name
"FOURIER" and do not create any variable in it.
Before using iFourier or Fourier set mode
Complex Format to RECTANGULAR
Angle to RADIAN
Exact/Approx to AUTO
You have to do these settings yourself because; the functions cannot
change the mode setting on the calculator.
The package include following programs/functions:
Help
Online help to programs
Fourier
Fourier transformation
iFourier
Inverse Fourier transformation
Plot
Graph expression
Eval
Numeric evaluate expression
Menu
Custom menu
Other files in the package are all sub functions or data for above
functions and programs.

New in version 3.30: cyclic frequency transformation


Fourier and iFourier have got two new modes each, which will perform
cyclic frequency transformation in the same manner as angular frequency
transformation.
Scaling of Heaviside/Dirac delta/Signum has been implemented.

Archiving files on TI-89 and TI-92+


All variables can be archived on the TI-89 and TI-92+. Functions and
programs can also be archived, but first after they have been used one
time each. If the programs have not been run before archiving, the
calculator has to compile them each time they are used, this will slow
down the execution time of the programs.
Before archiving the programs execute following commands from the
command line in the "fourier" folder:
Help() and press 'x'
ifourier(1/w,w,1)
fourier(1,t,1)

eval(1)
plot(1,t,0)

Help
This program will give online information about and demonstrate the use
of functions in this package. When you do not need this program any
longer just delete it and the data file "hlp".
Syntax: Help()
Functions in help
Scroll left
Scroll right
Scroll down
Scroll up
Page down
Page up
Jump between main help items
Chose from sub menus

key
left arrow
right arrow
down arrow
up arrow
2nd down arrow
2nd up arrow
F1 F7
19

Fourier
Function: Fourier(f(var), var ,mode)
Transforms the expression "f(var)" from time domain to cyclic/angular
frequency domain (Fourier). This function has the ability in the most
occasions to perform symbolical transformations, but not in all. It
depends on the type of transform.
Parameters
f(var)
var
mode=1
mode=2
mode=3
mode=4

Description
Can be any expression, which have a Fourier transform.
Is the name of the variable to transform normally 't', but can be
any undefined variable name.
f(var) F(w) result in angular frequency, (a)complex evaluated.
f(var) F(w) result in angular frequency, (b)no evaluation.
v(var) V(f) result in cyclic frequency, (a)complex evaluated.
v(var) V(f) result in cyclic frequency, (b)no evaluation.

a) Complex evaluated; means that the result will be in the calculators


complex format (exp(i*w) will be rewritten to cos(w)+i*sin(w)).
b) No evaluation; is a special format, where the calculators complex 'i'
will be replaced with the letter 'i'. The results in this format will
be exponential functions instead of sine and cosine. The letter 'i' in
the results of Fourier is the same as the complex 'i' and can always
be replaced with it.
The letter 'i' and 'complex i' will be interpreted as equal.
The expression may contain constants of any kind except constants
containing the letter 's'.

Special transforms:
Unit step function (Heaviside function):
Definition:
1 for t a
u (t a )
0 for t a

1
wi
1

Fourier(u(t - a),t,2 ) ( w)

ai w

e
(f)
Fourier(u(t - a),t,4 )

2
2
2 i f e i f a

Dirac delta function:


Definition:
1 for t a
(t a)
0 for t a

fourier ( (t a ), t ,2)
fourier ( (t a ), t ,4)

1
e

a i w

1
i f a

(e
)2
You can get the char by pressing + G + D on a TI-92. On a TI-89
press + ( + D.

Signum function:
Definition:
1 for t a
-1 for t a

signum(t-a)

Fourier(signum(t - a), t,2)


Fourier(signum(t - a), t,4)

2
wi
1

i a w

i f e i f a

The special functions can be used in all expressions.

Some examples:
Fourier(cos(5 t), t,1) (w - 5) (w 5)
(w - 5) (w 5)
1
1

2
2
2 5 w 2 w 5
w
Fourier(1/(t - 1), t,1) 2 i e u w

Fourier(cos(5 t) u(t), t,1) i

Fourier (sin(3 t ) / t , t ,4)

u (3 / 2 f ) u ( f 3 / 2)

2
2

iFourier
Function: iFourier(F(var), var ,mode)
Transforms the
to time domain
most occasions
depends on the
Parameters
F(var)
var

expression "F(var)" from cyclic/angular frequency domain


(inverse Fourier). This function has the ability in the
to perform symbolical transformations, but not in all. It
type of transform.

Description
Can be any expression, which has an inverse Fourier transform.
Is the name of the variable to transform normally 'w' or f, but
can be any undefined variable name.
F(w) f(t) from angular frequency to time, (a)complex evaluated.
F(w) f(t) from angular frequency to time, (b)no evaluation.
V(f) f(t) from cyclic frequency to time, (a)complex evaluated.
V(f) f(t) from cyclic frequency to time, (b)no evaluation.

mode=1
mode=2
mode=3
mode=4

c) Complex evaluated; means that the result will be in the calculators


complex format (exp(i*w) will be rewritten to cos(w)+i*sin(w)).
d) No evaluation; is a special format, where the calculators complex 'i'
will be replaced with the letter 'i'. The results in this format will
be exponential functions instead of sine and cosine. The letter 'i' in
the results of inverse Fourier is the same as the complex 'i' and can
always be replaced with it.
The letter 'i' and 'complex i' will be interpreted as equal.
The expression may contain constants of any kind except constants
containing the letter 's'.

Special transforms:
Unit step function (Heaviside function):
Definition:
1 for w a
0 for w a

u(w a)

iFourier(u(w - a),w,2 )

(t )
e iat

2
2 i t

e iat
iFourier(u(f - a),f,4 ) (t )
i t

Dirac delta function:


Definition:
1 for w a
0 for w a

(w a)

e iat
2
ifourier ( ( f a ), f ,4) (e iat ) 2
ifourier ( ( w a ), w,2)

You can get the char by pressing + G + D on a TI-92. On a TI-89


press + ( + D.

Signum function:
Definition:
1 for w a
-1 for w a

signum(w-a)

iFourier(signum(w - a),t,2 )

e iat
i t

2 e iat
iFourier(signum(f - a),t,4 )
i t

The special functions can be used in all expressions.


Some examples:

sin(t )
t
t u t
t
iFourier (1 / w 1 ^ 2, w,2)

it
e
2 e it
sin(5 t )
iFourier w 5 w 5 , w,1

iFourier u w 1 u w 1 , w,1

Eval
Function: eval(f(var))

f(var) can be any expression containing Heaviside, Dirac delta or Signum


functions.
This function will replace u(var), (var), signum(var) with a equivalent
when-functions. The letter 'i' will be replaced with the
'complex i'.
Example: eval(u(t-a))=when(t-a>=0, 1,0)
To obtain a numerical result from a function containing special
functions
eval(f(var))|var=value

Plot
Program: Plot(f(var),var,type)
This program will graph functions containing Heaviside, dirac delta or
signum. It will not change the setting of the calculator and it is
therefore up to you to manage the window settings.
Parameters
f(var)
var
type 0-2
type=0
type=1
type=2

Description
Any function containing Heaviside, Dirac delta or Signum
Variable to plot
Type of graph
Plot the function f(var)
Plot the amplitude abs(f(var))
Plot phase angle(f(var))

Example:
Plot(u(t)-u(t-4),t,0)

plots a pulse

Example:
Plot the amplitude of a complex function
plot(f(var),var,1)
Plot the phase
plot(f(var),var,2)

About
Author: Lars Frederiksen
E-mail: LTF@POST8.TELE.DK
Please, if you find any bugs in the programs or in the manual let me
know.
PS. Please do not ask for more programs.

También podría gustarte