klbryant2001
klbryant2001
24.08.2019 • 
Mathematics

The following text has been encrypted using an affine cipher(you don't need to type this in - download the file c.mat from canvas and load that into matlab using the command load ('c' a) convert the resulting cypher text variable c to a vector cn of integers using chartoint plot a histogram of the integers in cn using the matlab command hist (cn, 0: 25) b) use your histogram to identify the most frequent character and the second most frequent character in the cypher text c) the most frequent character in english is "e", and the second most frequent is "t". use this information to you decypher the affine cypher text

Solved
Show answers

Ask an AI advisor a question