Exercises

ex-ch34-01

Easy

Apply the three-pass reading method to any recent paper from IEEE Transactions on Wireless Communications (or IEEE Communications Letters). After Pass 1 only, answer:

  1. What is the paper's claimed contribution in one sentence?
  2. What performance metric is used?
  3. How many baselines are compared in the main results figure?
  4. Based on Pass 1 alone, is the paper relevant to MIMO precoding research? Justify your answer.

ex-ch34-02

Easy

A Monte Carlo BER simulation of BPSK over AWGN at Eb/N0=7E_b/N_0 = 7 dB produces the following results from 5 independent runs (each with 10410^4 transmitted bits):

Run Bit errors Estimated BER
1 23 2.3Γ—10βˆ’32.3 \times 10^{-3}
2 18 1.8Γ—10βˆ’31.8 \times 10^{-3}
3 25 2.5Γ—10βˆ’32.5 \times 10^{-3}
4 15 1.5Γ—10βˆ’31.5 \times 10^{-3}
5 29 2.9Γ—10βˆ’32.9 \times 10^{-3}
  1. Compute the pooled BER estimate (combining all 5 runs).
  2. Compute the 95% confidence interval.
  3. The theoretical BER of BPSK at Eb/N0=7E_b/N_0 = 7 dB is Q(2Γ—100.7)β‰ˆ1.25Γ—10βˆ’3Q(\sqrt{2 \times 10^{0.7}}) \approx 1.25 \times 10^{-3}. Does your CI contain the theoretical value? What might explain the discrepancy?

ex-ch34-03

Easy

List the five essential components of a wireless system model (from Definition 34.1.3). For each component, give one example of a common assumption and one example of an unrealistic assumption that should be flagged in a paper review.

ex-ch34-04

Medium

A paper claims that its proposed NOMA scheme achieves 40% higher throughput than OFDMA. Upon reading the simulation setup, you discover:

  • NOMA: 2 users per subcarrier, perfect SIC, perfect CSI at TX/RX
  • OFDMA: 1 user per subcarrier, no CSI at TX, equal power allocation
  • Both: 10 subcarriers, K=10K = 10 users, Rayleigh fading

Identify at least three sources of unfairness and explain how each one biases the comparison in favor of NOMA. Propose a fair experimental setup.

ex-ch34-05

Medium

You are simulating a 4Γ—44 \times 4 MIMO system with ZF detection. Your simulation produces the following BER curve:

Eb/N0E_b/N_0 (dB) BER (simulated) BER (expected for ZF, 4x4 Rayleigh)
0 1.8Γ—10βˆ’11.8 \times 10^{-1} β‰ˆ2.0Γ—10βˆ’1\approx 2.0 \times 10^{-1}
5 5.1Γ—10βˆ’25.1 \times 10^{-2} β‰ˆ5.5Γ—10βˆ’2\approx 5.5 \times 10^{-2}
10 3.2Γ—10βˆ’33.2 \times 10^{-3} β‰ˆ3.0Γ—10βˆ’3\approx 3.0 \times 10^{-3}
15 1.8Γ—10βˆ’41.8 \times 10^{-4} β‰ˆ1.5Γ—10βˆ’4\approx 1.5 \times 10^{-4}
20 9.5Γ—10βˆ’69.5 \times 10^{-6} β‰ˆ8.0Γ—10βˆ’6\approx 8.0 \times 10^{-6}

The simulated values are close to expected but consistently slightly lower (better). What could cause this systematic bias? List at least two possible explanations and describe how to diagnose each one.

ex-ch34-06

Medium

Design a complete simulation parameter table for a paper that studies downlink massive MIMO with ZF precoding. The system has N=64N = 64 BS antennas, K=8K = 8 single-antenna users, and operates at 3.5 GHz. Your table should include every parameter from the checklist in Section 34.2 (Remark 34.2.11).

Additionally, specify: (a) what BER/rate curves you would plot, (b) what baselines you would include, and (c) how many Monte Carlo realizations you would use and why.

ex-ch34-07

Medium

A colleague shows you the following Python snippet for a BPSK BER simulation and asks you to find the bug:

import numpy as np

def simulate_bpsk_ber(snr_db, n_bits=100000):
    snr_lin = 10**(snr_db / 10)
    bits = np.random.randint(0, 2, n_bits)
    symbols = 2 * bits - 1  # BPSK: {0,1} -> {-1,+1}
    noise = np.random.randn(n_bits) + 1j * np.random.randn(n_bits)
    noise_power = 1 / snr_lin
    received = symbols + np.sqrt(noise_power) * noise
    detected = (np.real(received) > 0).astype(int)
    ber = np.mean(bits != detected)
    return ber
  1. Identify the bug.
  2. Explain the quantitative impact on the BER curve.
  3. Write the corrected code.

ex-ch34-08

Hard

(Simulation design and validation.) Design and implement (in MATLAB or Python pseudocode) a complete BER simulation for QPSK transmission over a 2Γ—22 \times 2 Rayleigh fading channel with MMSE detection. Your implementation must:

  1. Use the Monte Carlo template from Algorithm 34.2.2 with a minimum of 100 errors per SNR point.
  2. Correctly normalize noise for Eb/N0E_b/N_0.
  3. Report 95% confidence intervals at each SNR point.
  4. Validate against the known analytical BER for MMSE detection (or at least verify that the diversity order is 1 for a 2Γ—22 \times 2 system with 2 streams).

Provide the pseudocode and explain each normalization step.

ex-ch34-09

Hard

(Critical paper analysis.) Consider a hypothetical paper abstract:

"We propose a deep-learning-based channel estimator for massive MIMO that achieves 5 dB gain over MMSE estimation. The network is trained on channels generated from the i.i.d. Rayleigh model and tested on the same distribution. We consider N=64N = 64 antennas, K=8K = 8 users, and perfect knowledge of the noise variance."

Perform a critical analysis:

  1. Is the 5 dB gain claim plausible? Why or why not?
  2. Identify at least three methodological concerns.
  3. What additional experiments would you request as a reviewer?

ex-ch34-10

Hard

(Importance sampling for rare events.) Estimating BER =10βˆ’7= 10^{-7} by brute-force Monte Carlo requires approximately 10910^9 bit decisions. Importance sampling (IS) reduces this dramatically.

Consider BPSK over AWGN. The optimal IS distribution shifts the noise mean by ΞΌβˆ—=βˆ’2Eb/N0\mu^* = -\sqrt{2 E_b/N_0} (biasing toward errors).

  1. Derive the IS weight (likelihood ratio) for this shifted distribution.
  2. Show that the IS estimator is unbiased.
  3. Estimate how many samples are needed to achieve 10% relative error at BER =10βˆ’7= 10^{-7} using IS, and compare with brute force.

ex-ch34-11

Hard

(Reproducibility audit.) You receive a paper for review. The numerical results section states: "We simulate a 16-antenna BS serving 4 users over Rayleigh fading channels. Results are averaged over sufficient channel realizations."

The paper provides three figures: sum rate vs. SNR, per-user rate CDF, and convergence of the proposed algorithm.

  1. List every piece of missing information that prevents you from reproducing these results.
  2. Write a concrete reviewer comment requesting the necessary details (aim for 150--200 words).
  3. Propose a "minimum reproducibility standard" that IEEE could adopt for wireless papers (5--7 bullet points).

ex-ch34-12

Hard

(End-to-end simulation project.) Design and conduct (or describe in complete pseudocode) a simulation study comparing MRT, ZF, and MMSE precoding for a massive MIMO downlink with N∈{16,64,128}N \in \{16, 64, 128\} antennas and K=8K = 8 users. Your study must:

  1. Use i.i.d. Rayleigh fading with proper normalization.
  2. Define SNR as total transmit power to noise ratio, SNR=P/Οƒ2\text{SNR} = P / \sigma^2.
  3. Compute ergodic sum rate with SINR expressions for each precoder.
  4. Average over NMC=1,000N_{\text{MC}} = 1{,}000 channel realizations and report 95% CIs.
  5. Include a complexity comparison table.
  6. Discuss when the three precoders converge (massive MIMO regime) and when they diverge.

Present your results as you would in a paper: parameter table, one figure description, and a one-paragraph discussion.

ex-ch34-13

Medium

A paper reports BER results for a 4Γ—4 MIMO system using 16-QAM. The x-axis is labeled "SNR (dB)" and shows a range of 0--25 dB. The paper defines SNR=Ptotal/Οƒ2\text{SNR} = P_{\text{total}} / \sigma^2 where PtotalP_{\text{total}} is the total transmit power across 4 antennas.

You want to compare these results against BPSK SISO curves from Proakis which use Eb/N0E_b/N_0.

(a) Express the paper's SNR in terms of Eb/N0E_b/N_0 for 16-QAM with code rate R=1/2R = 1/2 and 4 transmit antennas. (b) At the paper's SNR=20\text{SNR} = 20 dB, what is the equivalent Eb/N0E_b/N_0 in dB?

ex-ch34-14

Medium

You receive a reviewer comment: "The authors should compare against MMSE precoding, not just ZF, as MMSE is the stronger baseline at low-to-moderate SNR."

(a) Explain why MMSE is a stronger baseline than ZF. (b) Give the MMSE (regularized ZF) precoding formula and explain the role of the regularization parameter. (c) Under what conditions does ZF become equivalent to MMSE?

ex-ch34-15

Easy

Identify the type of each SNR definition in the following system model descriptions:

(a) "We define SNR =P/(NtΟƒ2)= P / (N_t \sigma^2) where PP is the total transmit power." (b) "The received SNR is Ξ³=βˆ₯hβˆ₯2P/Οƒ2\gamma = \|\mathbf{h}\|^2 P / \sigma^2." (c) "BER is plotted against Eb/N0E_b/N_0."