We need a matlab program capable of reading a text file containing a cryptosum puzzle and solving it using matrices and perms function in MATLAB, to give the unique solution and how many attempts were made to reach the solution.
Cryptosum is a numeric puzzle. I need a computer program using Matlab which solves these puzzles. The program should be
automatic; once all the information describing the puzzle is read by your program it should find the
solution without any further intervention from the user.
The puzzle consists of a 4x4 matrix of exotic symbols (shown as Letters below)
Each of the symbols is uniquely associated with an integer
in the range 1 to 9. The sum of the symbols within each
row and column is provided along the right and bottom
edges of the puzzle. To solve the puzzle, determine the
values of each of the symbols then sum the diagonal
symbols to provide a single total which is written at the
bottom right (replacing the question mark). This is the
solution to the puzzle.
EXAMPLE OF A CRYPTOSUM
A B C D 10
E F G H 28
D I H F 22
B C I A 15
18 16 22 19 ?
1. The program should be able to read a puzzle (as described above) directly from a text file. The
format of the text file should indentical to that described in Hint 2 above. It consists of five lines,
each consisting of five symbols or numbers. The symbols and numbers within each line are
seperated by multiple spaces. Each of the values should be strictly validated to ensure that the file
is correct and appropriate error messages generated if any fault is found.
[url removed, login to view] the program starts it should ask for the name of the file to process on the console.
3. On completion the program must display a valid solution to the puzzle and also the values for
each of the nine symbols that comprise the 4x4 matrix. If the puzzle has no solution then your
program should indicate this in some appropriate way. For the puzzle described above the solution
should be displayed to the console as follows:
A=4 B=3 C=1 D=2 10
E=9 F=5 G=6 H=8 28
D=2 I=7 H=8 F=5 22
B=3 C=1 I=7 A=4 15
18 16 22 19 ?=21
The results should also be stored as a text file to provide a permanent record of the solution.
4. On completion the program should also display the number of invalid solutions that were tested
prior to finding the correct solution and the time that the program took to find a solution in
5. The code should be amply documented internally and also broken up into functions whenever
appropriate. When functions are created they should be documented for use within the Matlab help
6. You should write a design and testing log report describing the design decisions you made as you
developed the program and the test strategy you applied to ensure that the code worked as expected
(no more than 5 pages). This can be used to document the design meetings you have with your
group partner, the software structure and sub-systems that you need to develop, the functions that
will be used to implement these subsystems, the approach for testing each of these functions and the final tests that were applied.
7. Finally write a brief user manual describing to a new user how to operate your program. You
may assume that your users already understand the crytosum puzzle (no more than 2 pages).
Describe the restrictions to the input file format, how to interpret the output messages, the error
messages that your software can generate and what they mean.
9 freelancer bu iş için ortalamada 113$ teklif veriyor
Hello, I am a professional engineer with years of experience in Matlab programming. I have done a lot of matlab work on freelancer as well, Thanks
Thanks for the really detailed brief. You can see the projects I'm working on and have worked on in past from my portfolio. Message me if you are interested. Thanks.