Yes It is a self-complementing code
$n$ |
$4311$ |
$0$ |
$0000$ |
$1$ |
$0001$ |
$2$ |
$0011$ |
$3$ |
$0100$ |
$4$ |
$0101$ |
$5$ |
$1010$ |
$6$ |
$1011$ |
$7$ |
$1100$ |
$8$ |
$1110$ |
$9$ |
$1111$ |
1). There is property, of self complementing code, that,code of $9's$ of a decimal number is obtained directly by changing $0's$ to $1's$ and $1's$ to $0's$
example: $9's$ complement of $2$ is $7$, change $0's$ to $1's$ and $1's$ to $0's$ in $4311$ code of $2$ , we will get $1100$, that is $4311$ code of $7$
2). Interesting thing I found that sum of weights of self-complementing weighted code makes a total of $9$, i.e, $4+3+1+1=9$, checked with other self-complementing codes as $2421,84-2-1,5211,$ and $642-3$.