Why Did My Calculation of Discrete Channel Capacity Differ?

AI Thread Summary
The discussion centers on the calculation of discrete channel capacity as defined by Claude Shannon's formula, C = lim T -> +∞ (log(N(T)) / T). A user initially miscalculated the capacity, arriving at 3 symbols per second instead of the expected 2 symbols per second. Clarification was provided that while the user’s calculation reflects the number of symbols transmitted, the formula actually computes the maximum information capacity, which is 2.5 bits per second. The conversation emphasizes the distinction between symbol transmission rates and the theoretical capacity of a channel, noting that practical factors may further reduce actual capacity. Understanding this formula is crucial for accurately assessing communication channel capabilities.
iVenky
Messages
212
Reaction score
12
Well I was reading this " A Mathematical Theory of Communication" paper by Claude Shannon. He says that the capacity of a discrete channel is given by

[ tex ] C= \ \lim_{T \to +\infty} \ \frac{\log ( N(T) )} {T} [ \tex ]

Here N(T) is the number of possible sequences in a duration of T seconds.

He gives one example before talking about this capacity formula. Here's the example- Consider 32 symbols. You have a system where you can transmit 2 symbols per second. Now he says it is clear that if each symbol has 5 bits then we can send 2 x 5 =10 bits per second (or 2 symbols per second). This is the capacity of the channel. But when I tried it out using the above expression I couldn't get the answer as 2 symbols/ second. I got it as 3 symbols per second. Can you help me with this?

Thanks in advance.


(As latex doesn't seem to work now I have even attached the image of the formula for Capacity)
 

Attachments

  • capacity.jpg
    capacity.jpg
    2.4 KB · Views: 450
Last edited:
Engineering news on Phys.org
You must have made an error somewhere. In 2 seconds you transmit 2 symbols, so there are 32^2=1024 possible message combinations. log_2(1024)/2 = 10/2 = 5 bits/second which is one symbol per second, which is correct.
 
Ya you I found it later. Thanks marcusl btw
 





Yes, I can help you with this. First, let's go over the formula for capacity of a discrete channel given by Claude Shannon. As you correctly stated, the formula is:

C = lim T -> +∞ (log(N(T)) / T)

Where N(T) is the number of possible sequences in a duration of T seconds. This formula calculates the maximum amount of information that can be transmitted per unit time through a discrete channel.

Now, let's apply this formula to the example given by Shannon. We have a system with 32 symbols and a transmission rate of 2 symbols per second. Each symbol has 5 bits, so the total number of bits transmitted per second is 2 x 5 = 10 bits. This matches the answer of 10 bits per second that Shannon gave.

Now, let's plug these values into the formula:

C = lim T -> +∞ (log(N(T)) / T)

= log(32) / 2

= 5 / 2

= 2.5 bits per second

This means that the theoretical maximum capacity of the channel is 2.5 bits per second, which is close to the answer of 3 symbols per second that you got. Your answer of 3 symbols per second is actually the number of symbols that can be transmitted, but the formula is calculating the maximum amount of information that can be transmitted, which is slightly different.

I hope this helps clarify the concept of capacity of a discrete channel and how to use the formula given by Claude Shannon. Keep in mind that this is a theoretical calculation and in practice, the actual capacity may be lower due to various factors such as noise and channel limitations.
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top