Professional Documents
Culture Documents
Founder & President, Pentagram Research Center Pvt. Ltd, Hyderabad, Andhra Pradesh, India
ABSTRACT
Symbolic computation is study and development of algorithms and software for manipulating mathematical
expressions and objects. In signal processing data is represented using symbols. But today computers are basically numeric
computers hence automation of basic and advanced signal processing operations became very difficult task. Even though
effort has been made to write algorithms and programs for signal processing operations but time complexity of such
implementations are very poor. In this paper signals are represented as strings or words which can be stored in computer
memory, further normal algorithms are written to perform basic arithmetic operations like addition, difference, product and
division of two signals using rewriting cyclic normal automata.
Numeric computation
Symbolic computation
Computation carried out by human beings before invention of computer is purely symbolic. Once computers
come into existence numeric computation became very popular. Any task which is solved by computers takes data in the
[10] form of numbers. For example looping a certain task for n number of times, doing any bank transaction,
finding integration using Simpsons method are carried out in a numeric way. But there is no significant improvement in
numerical differentiation.
Symbolic computation is study and development of algorithms and software for manipulating mathematical
expressions and objects. In signal processing data is represented using symbols. But today computers are basically numeric
computers hence automation of basic and advanced signal processing operations became very difficult task. Even though
effort has been made to write algorithms and programs for signal processing operations but time complexity of such
implementations are very poor. The problems identified are processing signal processing operations [09] on numeric
computers, difficulty in writing algorithms, Rare availability of software to perform advanced signal processing operations,
Modeling symbolic operations in computer process able form, Poor time complexity of existing methods.
www.tjprc.org
editor@tjprc.org
128
Substitution Formulas
The formula of the form P->Q used in normal algorithms to derive given string is called as substitution formula.
There are two types of substitution formulas
end the derivation where simple formula used to replace part of a string by another string while derivation.
Normal Algorithms
Finite set of symbols are known as alphabet denoted by A or . A word w is finite sequence of symbols from
. Basic set theory operations and notations like intersection, union, set difference, concatenation, subset, proper subset,
belongs to, not belongs to can be the same in automata also. A variable is said to be generic [15] variable whose values are
taken from alphabet . Usually generic variables are denoted by symbols like, and. In automata null string is
represented by the symbol. A Markov Algorithm over an alphabet A is a finite ordered sequence of productions xy,
where x, y A*. Some productions may be Halt productions. e. g. abc b, ba x (halt).
Realization of Arithmetic Operations on Signal Sequences Using Normal Algorithms and Rewriting Cyclic Normal Automaton
Let N
ADD
129
is an RCNA based normal algorithm which is used to add to signals denoted by integer sequence.
Formula Number
Comments
Replace symbol + by null string
and stop the addition process
Let us consider two signals which are represented as integer sequence ||| and ||. We have only one formula in
which + is replaced by then if we concatenate any string with null string the result will be the same string. The addition
of these two signals carried out as follows.
Table 2: Addition of Two Signals 3 and 2
The
RCNA
for
the
Step No.
1
2
Transformation
||| + ||
||| ||
|||||
above
EPT
system
is
Formula Used
Input string
Formula 0
Resultant string
(w = w = w)
[1,2]
defined
by
CADD
<Q,INI,FIN>
where
(q20,\/,q30), (q20,+/,q21),
(q21,/ ,q00), (q30,\/,q40), (q40,\/,q50), (q50, \/,qFIN), (q50, /,q51), (q51,/ ,q00) }
The graphical representation of CADD is shown in figure 1
www.tjprc.org
editor@tjprc.org
130
SUB
is an RCNA based normal algorithm which is used to add to signals denoted by integer sequence.
Formula
Formula Number
|-| -
|- |
0
1
2
Comments
Substitute in the place |-| in the given
input string
Replace at last |- with |
If both signals are same result is 0
Let us consider two signals which are represented as integer sequence ||| and ||. We should use formula 0 for twice
then formula 1 or once to get desired result. The subtraction of these two signals carried out as follows.
Table 4: Difference of Signals 3 and 2
The
RCNA
for
the
Step No.
1
2
3
Transformation
||| - ||
||-|
|-
above
EPT
system
is
Formula Used
Input string
Formula 0
Formula 0
Formula 1
Resultant signal
defined
by
CSUB
<Q,INI,FIN>
where
Realization of Arithmetic Operations on Signal Sequences Using Normal Algorithms and Rewriting Cyclic Normal Automaton
131
Formula Number
a| |ba
b| |b
O*| O*
|*O *O
|*|*a
*| *
a
*b |*
*.
1
2
3
4
5
6
7
8
Comments
Add |ba in the place a| in the
given input string
Write in reverse
Truncate | from substring
Truncate | from substring
Replace | by a
Remove | from string
Empty string at a
Replace by |
. in the place of *
For example let us consider two signals s1, s2 which are denoted by integer sequence x, y where x=||| and y =||.
Let us apply NMUL algorithm to find product of s1 and s2 which is as follows.
Table 6: Product of Signals 3 and 2
Step No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
www.tjprc.org
Transformation
|||||
||a||
|||ba|
|||b|ba
||||bba
|a||bba
||ba|bba
||b|babba
|||bbabba
a||bbabba
|ba|bbabba
|b|babbabba
||bbabbabba
|bbabbabba
bbabbabba
bbbbabba
bbbbbba
bbbbbb
|bbbbb
||bbbb
|||bbb
||||bb
|||||b
||||||
||||||
Formula Used
Input string
4
0
0
1
4
0
0
1
4
0
0
1
5
5
6
6
6
7
7
7
7
7
7
8 (resultant string)
editor@tjprc.org
132
The
RCNA
for
the
above
EPT
system
is
defined
by
CMUL
<Q,INI,FIN>
whereQ={q00,q10,q20,q11,q12,q13,q30,q21,q22,q40,q50,q41,q42,q51,q52,q60,q70,q71,q72,q73,q80,q81,q82,q83,q90,q91,q92,q93,q100,q101,q102,q1
03,q104,q105,q110,q111,q112}
,q00),
(q20, \/,q30), (q20,a|/|ba,q21), (q21, /,q22), (q22, / ,q00), (q30, , \/,q40), (q40, , \/,q50), (q40,a|/|ba,q41),
(q41,/,q42),
(q42,/
(q60,,\/,q70),
(q74,/
(q70,|*|/*a,q71),
,q00),
(q84, /
(q100,,
,q00),
/,q52),(q52,
(q50,b|/|b,q51),(q51,
(q71,a|/|ba,q72),
(q80,|*|/*a,q81),
(q72,a|/|ba,q73),
(q81,a|/|ba,q82),
(q100,*b/|*,q101),
(q101,*b/|*,q102),
(q102,*b/|*,q103),
,q00),
(q73,
/,q74),
(q82,a|/|ba,q83),
(q83,/,q84),
(q103,*b/|*,q104),
(q104,
/,q105),
Formula Number
/ |*|*/
/|*$|
$
|
3
4
Comments
Cancel number of |s in dividend which are present in
divisor.
Replace / by empty string
Write | at the end of string after cancelling equal length
substring from divisor and dividend. Where $ is end of
the string.
Replace $ by empty string
Replace | by
Realization of Arithmetic Operations on Signal Sequences Using Normal Algorithms and Rewriting Cyclic Normal Automaton
133
Let us consider two signals which are represented as integer sequence |||| and ||. We should use formula 0 for twice
then formula 1 or once to get desired result. The division of these two signals carried out as follows.
Table 8: Division of Signals 4 and 2
Step No.
1
2
3
4
5
6
7
8
9
10
11
12
13
The
RCNA
for
the
above
Transformation
||||/||$
||||/||$
||||/||$|
||||/||$|
||||/||$||
|||/||$||
||/||$||
|/||$||
/||$||
||$||
|$||
$||
||
EPT
system
Formula Used
Input string
0
2
0
2
4
4
4
4
1
4
4
3(output string)
is
defined
by
CDIV
<Q,INI,FIN>
\/,q30),
(q71, / ,q00) }
The graphical representation of CDIV is shown in figure 4
CONCLUSIONS
In this paper a new technique for performing operations on signals using normal algorithms and RCNA has been
www.tjprc.org
editor@tjprc.org
134
represented, which solves the problems like numeric computation of signals, representation of signals in computer process
able format. The use of automata in signal processing is still in infancy stage. More efforts are required to explore various
methods using automata to implement various signal processing operations. The features of automata will make them as
alternative for designing signal operations as conventional methods. In summary, it is considered that RCNA based automata
have an excellent potential in signal processing.
REFERENCES
1.
2.
Arbib, M. A, Algebraic Theory of Machines, Languages and Semi groups, Academic Press, New York, 1968.
3.
4.
5.
6.
7.
Bobrow, D.G, Symbol Manipulation Languages and Techniques, Proceedings of the IFIP Working Conference on
Symbol Manipulation Languages, North-Holland Publishing Company, Amsterdam, 1968.
8.
9.
Clifford and Preston, The Algebraic Theory of Semi groups, American Mathematical Society, Providence, 1961.