Professional Documents
Culture Documents
6 - Performance Results Via Simulation
6 - Performance Results Via Simulation
6 - Performance Results Via Simulation
Section Overview Using Simulated Data to Compute Bit and Symbol Error Rates Example: Computing Error Rates Comparing Symbol Error Rate and Bit Error Rate
Section Overview
One way to compute the bit error rate or symbol error rate or a communication system is to simulate the transmission o data messages and compare all messages be ore and a ter transmission! "he simulation o the communication system components using Communications "oolbox is covered in other parts o this guide! "his section describes how to compare the data messages that enter and leave the simulation! #nother example o computing per ormance results via simulation is in Curve $itting or Error Rate %lots in the discussion o curve itting!
Note "o ensure an accurate error rate& you should typically simulate enough data to produce at least ,-- errors!
( the error rate is very small * or example& ,-). or smaller+& the semianalytic techni/ue might compute the result more /uic0ly than a simulation)only approach! See %er ormance Results via the Semianalytic "echni/ue or more in ormation on how to use this techni/ue!
"he output is below! "he error rate decreases a ter decoding because the 1amming decoder corrects some o the errors! 'our results might vary because this example uses random numbers!
1rror rate in t$e recei2ed code3 1rror rate a#ter decoding3 . 3 . )4256
snum = 2 srate = 273 bnum = ) brate = )7( bnum is 2 because the second entries di er in two bits and the third entries di er in three bits! brate is 234 because the total number o bits is 4! "he total number o bits is& by de inition& the number o entries in a or b times the maximum number o bits among all entries o a and b!