Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Converting to for loop

1 view (last 30 days)
Matt Holm
Matt Holm on 8 Sep 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
Hey. just need assistance changing:
cipher_text = arrayfun(@(m,n) Array(m,n), k, origionalText) - 1;
cipher_text(cipher_text == 26) = double(' ') - double('a');
cipher_text = upper(char(cipher_text + double('a')));
and
cipher_text = arrayfun(@(m,n) find(Array(m,:) == n), k, origionalText) - 1;
cipher_text(cipher_text == 26) = double(' ') - double('a');
cipher_text = upper(char(cipher_text + double('a')));
to a for loop

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!