U have one file
horse;tiger
lion;mule
lion;tiger
horse;mule
Another Second file
horse mule tiger lion
horse
mule
tiger
lion
Based on the first file that have pairings that is horse;tiger it will get 1 otherwise no parings will get 0
Output shud be like that
horse mule tiger lion
horse 0 1 1 0
mule 1 0 ...
User Profile
Collapse
-
Matrix pairings to print 0 or 1
-
reply in simple format
From file A
we have inputs
A -> G
C->D
A -> R
P->A
say first one A->G
so from file B
A =1 G=6
so 1: 2:0 3:0 4:0 6: 7:0 all 20 vectors will be zero except 1 and 6
Now A is first letter so format is denoted -1 and
G is second letter so format is denoted as 1
therefore... -
reply in simple format
From file A
we have inputs
A -> G
C->D
A -> R
P->A
say first one A->G
so from file B
A =1 G=6
so 1: 2:0 3:0 4:0 6: 7:0 all 20 vectors will be zero except 1 and 6
Now A is first letter so format is denoted -1 and
G is second letter so format is denoted as 1
therefore...Leave a comment:
No activity results to display
Show More
Leave a comment: