- Chose a small, a medium and a large picture.
- Your computer system
- Set acceptable execution times, number of seconds, for encoding and decoding, respectively.
- ...

5 views (last 30 days)

How can I speed up this code? when I execute this code take much time

per isakson
on 6 Jan 2020

Edited: per isakson
on 6 Jan 2020

"I don't have much time [...]. What do you recommend that I do?"

Set Specific Goals. Your goal must be clear and well defined.

- Chose a small, a medium and a large picture.
- Your computer system
- Set acceptable execution times, number of seconds, for encoding and decoding, respectively.
- ...

Post a new question with a specific title, one that will catch the eye of someone who knows something about encoding, decoding and Galois fields. Carefully select a handfull of tags.

If you have the Parallel Computing Toolbox, a suitable graphical card and some experience, then assess the potential of parallel operations.

Google might find a FORTRAN or C library that you can use to make a mex-file.

Sign in to comment.

Sign in to answer this question.

Opportunities for recent engineering grads.

Apply Today
## 28 Comments

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_782804

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_782804

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_782844

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_782844

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783086

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783086

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783099

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783099

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783101

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783101

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783102

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783102

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783106

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783106

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783114

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783114

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783154

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783154

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783191

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783191

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783224

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783224

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783230

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783230

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783242

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783242

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783245

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783245

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783250

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783250

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783253

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783253

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783259

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783259

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783573

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783573

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783574

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783574

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783581

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783581

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783898

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783898

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783902

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783902

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783909

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783909

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783916

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_783916

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784082

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784082

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784515

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784515

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784580

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784580

## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784591

⋮## Direct link to this comment

https://au.mathworks.com/matlabcentral/answers/498810-how-can-i-speedup-this-code#comment_784591

Sign in to comment.