Rail Fence Encryption function

Just wondering how i would do a rail fence encryption function. Unsure on the process.
for an understanding of the code please follow the link below: http://www.braingle.com/brainteasers/codes/railfence.php

 Accepted Answer

Guillaume
Guillaume on 31 Aug 2016
reshape the string. Honestly, this is trivial to implement. Is it homework?

2 Comments

Yeah it is. Im new to matlab and just needed a helping hand. Thanks
Are you able to offer any more help via using reshape? Im brand new to matlab and need to solve this.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!