DigComT

HammingBnd

DirectoryDOS NameType
Analysis hammngbd m-function

Purpose

The Hamming Bound

Calling Sequence

[k, t] = HammingBnd(n) or [k, t] = HammingBnd(n, q)

INPUTS

Input Description
1 n
blocklength
2 q
alphabet size (default: q = 2)

OUTPUTS

Output Description
1 k
dimension
2 t
the number of errors corrected

Description

The Hamming Bound for t=1:n/2 over (F_q)^n

Notes

If n < 0, returns -n point asymtoptic result

Example


n = 32;
[k,t]=HammingBnd(n);
plot(k,t,'o')
hold on
[k,t]=HammingBnd(-n);
plot(k*n,t*n)
DigComT Manual Table of Contents DigComT Manual Native Intelligence Home

DigComT Licensee: Chris Heegard 
Native Intelligence
Last modified: Tuesday, January 11, 2000
Date created: Tuesday, January 11, 2000

Copyright © 1997-2000, Native Intelligence, All rights reserved.