MATLAB: Encode & Decode Rail-fence cipher

encode and decodeMATLABrail-fence

Relatively new to Matlab and ive been tasked with creating two different scripts to encode and decode rail-fence ciphers.
Not looking for the direct code just a little starting place and what would be included in a script as such.
Any help would be greatly appreciated.

Best Answer

Hi,
As you are new to MATLAB, please refer to the following links that will provide you an overview of writing scripts in MATLAB:
For the part of rail-fence cipher, please refer to the implementation of caesar cipher and substitution (not providing you link for rail-fence cipher as it will be a learning part for you to implement) cipher to understand the things that would be included in the script for writing encoder and decoder for a cipher.
Hope this helps!