Documentation Center 
Calculate vector magnitude difference between ideal reference signal and measured signal
Error Vector Magnitude (EVM) is a measurement of modulator or demodulator performance in an impaired signal.
While certain mask selections can change EVM block behavior, the block always has two input signals: a reference signal (at the reference port, Ref) and a corrupted signal (at the input port, In). You must select which normalization method the block uses when performing EVM calculations and which calculations you want as outputs.
The block either normalizes to the average reference signal power, average constellation power, or peak constellation power. For RMS EVM, Max EVM, and Xpercentile EVM, the output computations reflect the normalization method.
The default EVM output is RMS EVM in percent, with an option of Output maximum EVM or Output Xpercentile EVM values. The maximum EVM represents the worstcase EVM value per burst. For the Xpercentile option, you can select to output the number of symbols processed in the percentile computations.
The following table shows the output type, the activation (what selects the output computation), computation units, and the corresponding computation duration.
Output  Activation  Units  Computation Duration 

RMS EVM  Default  Percentage  Per burst 
Max EVM  Parameter setting  Percentage  Per burst 
Percentile EVM  Parameter setting  Percentage  Continuous 
Number of symbols  Parameter setting if you select Output Xpercentile EVM  None  Continuous 
The computation duration in per burst mode spans the symbols in the present burst. The computation duration in continuous mode spans all the symbols across multiple bursts.
The block computes measurements for bursts of data. The data must be of length N, where N is the size of the burst. When computing RMS EVM or Max EVM, the block computes a unique output for each incoming burst; therefore, the computation duration is per burst.
The block computes the Xpercentile for all incoming symbols across multiple bursts. This computation duration is the continuous mode (in contrast to the per burst duration for RMS EVM or Max EVM).
This block accepts scalarvalued or column vector input signals. The input and reference signals must have identical dimensions.
The output is always a scalar value.
The block accepts double, single, and fixedpoint data types. The output of the block is always double type.
The EVM block provides three different normalization methods. You can normalize measurements according to the average power of the reference signal, average constellation power, or peak constellation power. Different industry standards follow one of these normalization methods.
The following table lists how the block calculates the RMS EVM value for different normalization methods.
EVM Normalization Method  Algorithm 

Reference Signal 

Average Power 

Peak Power 

where,
e_{k} =
I_{k} = Inphase measurement of the kth symbol in the burst
Q_{k} = Quadrature phase measurement of the kth symbol in the burst
N = Input vector length
P_{avg} = The value for Average constellation power
P_{max} = The value for Peak constellation power
I_{k} and Q_{k} represent ideal (reference) values. and represent measured (received) symbols.
The max EVM is the maximum EVM value in a frame or
where k is the kth symbol in a burst of length N.
The definition for EVM_{k} varies depending upon which normalization method you select for computing measurements. The block supports the algorithms in the following table.
EVM Normalization  Algorithm 

Reference Signal 

Average Power 

Peak Power 

The block computes Xpercentile EVM by creating a histogram of all the incoming EVM_{k} values. The output provides the EVM value below which X% of the EVM values lay.
Selects the method by which the block normalizes measurements:
Average reference signal power
Average constellation power
Peak constellation power
This parameter defaults to Average reference signal power.
Normalizes EVM measurement by the average constellation power. This parameter only appears if you set Normalize RMS error vector to Average constellation power.
Normalizes EVM measurement by the peak constellation power. This parameter only appears if you set Normalize RMS error vector to Peak constellation power.
Outputs the maximum EVM of an input vector or frame.
Enables an output Xpercentile EVM measurement. When you select this option, specify Xpercentile value (%).
This parameter only appears when you select Output Xpercentile EVM. The Xth percentile is the EVM value below which X% of all the computed EVM values lie. The parameter defaults to the 95th percentile. Therefore, 95% of all EVM values are below this output.
Outputs the number of symbols that the block uses to compute the Output Xpercentile EVM. This parameter only appears when you select Output Xpercentile EVM.
To see an example using the EVM block, refer to Measuring Modulator Accuracy in the Communications System Toolbox™ User's Guide.
[1] IEEE Standard 802.162004: "Part 16: Air interface for fixed broadband wireless access systems," October 2004. http://ieee802.org/16/published.html
[2] 3 GPP TS 45.005 V8.1.0 (200805): "Radio Access Network: Radio transmission and reception"
[3] IEEE Standard 802.11a1999: "Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications: Highspeed Physical Layer in the 5 GHz Band," 1999.