Team:Davidson-Missouri Western/Color Plots

From 2008.igem.org

(Difference between revisions)
Line 3: Line 3:
[[Media:Spoketest.m|Spoke Model]]- This code hashes all messages with the spoke model to any fixed amount of characters in the output. The user must input a message in string format, a key (one character) in string format, the number of characters in the user's alphabet, and the number of characters desired in the output. This code assumes that the decimal value of the starting character of the alphabet is 0.
[[Media:Spoketest.m|Spoke Model]]- This code hashes all messages with the spoke model to any fixed amount of characters in the output. The user must input a message in string format, a key (one character) in string format, the number of characters in the user's alphabet, and the number of characters desired in the output. This code assumes that the decimal value of the starting character of the alphabet is 0.
-
[[Media:Allhash.m|Allhash]]
+
[[Media:Allhash.m|Allhash]]-This code makes a color plot with messages and keys sorted by what they hash to
 +
function make = allhash(X,Y,L,T)%L=length of message, X ascii character alphabet starts with,Y ascii character alphabet ends with, T=type of hashing method
 +
 
 +
[[Media:Eachhash.m|EachHash]]
[[Media:Allkey.m|Allkey]]
[[Media:Allkey.m|Allkey]]
Line 10: Line 13:
[[Media:Color2.m|Color2]]
[[Media:Color2.m|Color2]]
-
 
-
[[Media:Eachhash.m|EachHash]]
 
[[Media:Eachkey.m|Eachkey]]
[[Media:Eachkey.m|Eachkey]]

Revision as of 05:36, 29 October 2008

Split Model - This code hashes all messages with the split model to a single character in the output. The user must input a message in string format, a key (one character) in string format, the number of characters in user's alphabet, and the decimal value (ascii) of the starting character of the alphabet.

Spoke Model- This code hashes all messages with the spoke model to any fixed amount of characters in the output. The user must input a message in string format, a key (one character) in string format, the number of characters in the user's alphabet, and the number of characters desired in the output. This code assumes that the decimal value of the starting character of the alphabet is 0.

Allhash-This code makes a color plot with messages and keys sorted by what they hash to function make = allhash(X,Y,L,T)%L=length of message, X ascii character alphabet starts with,Y ascii character alphabet ends with, T=type of hashing method

EachHash

Allkey

Allmestot

Color2

Eachkey

Eachmestot

Hashkey

Keychain