decryption getting so long

im doing image encryption and decryption
while encrypting the code is running for a couple of seconds
but during decryption it is taking more thn 4hours
also during decyption the matrix is getting printed again and again i have removed all the display commands in the code

1 Comment

You might be missing a semicolon at the end of an assignment.
You might need to preallocate a variable for performance reasons.
Note that due to the laws of the United States, we can only talk in vague generalities about encryption and decryption code. If the topic were nearly anything else we would ask to see your code, but for this one topic we have to tell you not to post your code.

Sign in to comment.

Answers (0)

Categories

Asked:

on 27 Jan 2020

Commented:

on 27 Jan 2020

Community Treasure Hunt

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

Start Hunting!