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 to- k, return- M.
- If - Mis greater than- k, consider all values between- min(M/10,k/2)and- k. 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