-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
DNA_encode_rule01.m
34 lines (17 loc) · 1.49 KB
/
DNA_encode_rule01.m
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
26
27
28
29
30
31
32
33
34
% DNA Encoding function
% -----------------------------------------------------------------------------------------------------------------------------------
% Function for DNA encoding based on rule 01
function d = DNA_encode_rule01(P,mn)
% -----------------------------------------------------------------------------------------------------------------------------------
% STEP 1:Creating an empty string array for DNA encoding
% -----------------------------------------------------------------------------------------------------------------------------------
% STEP 2:DNA Convertion table
for i = 1:mn
% -----------------------------------------------------------------------------------------------------------------------------------
% -----------------------------------------------------------------------------------------------------------------------------------
% -----------------------------------------------------------------------------------------------------------------------------------
% -----------------------------------------------------------------------------------------------------------------------------------
% -----------------------------------------------------------------------------------------------------------------------------------
% STEP 3:DNA Encoding output
end
% -----------------------------------------------------------------------------------------------------------------------------------