bestblk
Determine optimal block size for block processing
Description
Examples
Input Arguments
Output Arguments
Algorithms
The algorithm for determining the optimal value of m from
M and k is:
If
Mis less than or equal tok, returnM.If
Mis greater thank, consider all values betweenmin(M/10,k/2)andk. Return the value that minimizes the padding required.
The same algorithm is used to find the optimal value of n from
N and k.
Version History
Introduced before R2006a