Exercises

ex-ch18-01

Easy

An XL-MIMO panel at fc=28f_c = 28 GHz has aperture D=1.2D = 1.2 m. Compute the Fraunhofer distance dFd_F. A user is at range r=30r = 30 m. Is it in the near field or far field?

ex-ch18-02

Easy

A user's true VR on a 1024-antenna XL-MIMO array covers ∣Vk∣=200|\mathcal{V}_k| = 200 antennas. The detector declares ∣V^k∣=400|\hat{\mathcal{V}}_k| = 400 active, of which 180 overlap with the true VR. Using Theorem TLS Estimation Penalty from VR Mismatch with SNR=10\text{SNR} = 10, compute the NMSE of LS estimation with the hard-threshold detector.

ex-ch18-03

Easy

Derive the local conditional probability of the 2D Ising prior at a site whose four neighbours are (Οƒ1,Οƒ2,Οƒ3,Οƒ4)=(+1,+1,+1,βˆ’1)(\sigma_1, \sigma_2, \sigma_3, \sigma_4) = (+1, +1, +1, -1) with J=0.9J = 0.9 and h=0h = 0. Express it as a sigmoid and compute the numerical value.

ex-ch18-04

Easy

A 40964096-antenna XL-MIMO array uses S=16S = 16 square subarrays and serves K=32K = 32 users. Compute the per-coherence-block flop count of full-aperture MMSE and of plain subarray MMSE, and the speedup factor.

ex-ch18-05

Medium

A polar-domain dictionary for a 128128-antenna ULA covers azimuth range [βˆ’60∘,+60∘][-60^\circ, +60^\circ] uniformly with Δθ=2/128\Delta\theta = 2/\sqrt{128} rad and range [5,50][5, 50] m logarithmically with ratio Ξ±=1.3\alpha = 1.3. Compute the grid size GG and the OMP pilot budget for L=3L = 3 scatterers using Ο„pβ‰₯2Llog⁑2G\tau_p \geq 2 L \log_2 G.

ex-ch18-06

Medium

Given the matched-filter LLR β„“n=ρn1+ρnTnβˆ’log⁑(1+ρn)\ell_n = \frac{\rho_n}{1 + \rho_n} T_n - \log(1 + \rho_n), compute the average LLR under the alternative hypothesis (m=1m = 1) and under the null (m=0m = 0) for ρn=3\rho_n = 3. Use the means E[Tn∣m=0]=1\mathbb{E}[T_n \mid m = 0] = 1 and E[Tn∣m=1]=1+ρn\mathbb{E}[T_n \mid m = 1] = 1 + \rho_n. What is the expected log-ratio under each hypothesis?

ex-ch18-07

Medium

Show that the raster-order Gibbs sampler of Algorithm AGibbs Sampler for the 2D VR Prior has a stationary distribution equal to the 2D Ising prior of Definition D2D Markov Random Field Prior on the VR Mask. (State the detailed-balance condition, verify it for a single spin flip, and conclude.)

ex-ch18-08

Medium

Modify the per-antenna LLR to account for a soft (not binary) fade: the received energy under activation is TnβˆΌΟ‡22(ρn)T_n \sim \chi^2_2(\rho_n) where the SNR ρn\rho_n is itself a random variable with distribution p(ρn)=1ρˉeβˆ’Οn/ρˉp(\rho_n) = \frac{1}{\bar\rho} e^{-\rho_n/\bar\rho} (unit-mean Rayleigh power in linear scale). Derive the marginal LLR β„“n\ell_n and compare with the fixed- ρ\rho formula.

ex-ch18-09

Medium

Argue that the M-step of Algorithm AJoint VR + Channel Estimation via EM reduces to a weighted LASSO problem and write it explicitly. Under the weights wn=qn(t+1)w_n = q_n^{(t+1)}, show that the step is convex in z\mathbf{z} and can be solved with soft-thresholding (ISTA).

ex-ch18-10

Hard

Suppose you have a fixed pilot budget Ο„p\tau_p and want to estimate the channels of two users with completely disjoint VRs. Show that you can assign them the same pilot sequence without any pilot contamination penalty, and compute the resulting factor-of-2 gain in pilot-spectral efficiency.

ex-ch18-11

Hard

Derive a closed-form upper bound on the probability that loopy BP on the 2D Ising posterior with external fields hn=β„“n/2h_n = \ell_n / 2 converges to the wrong mask. State your bound in terms of the LLR variance and the BP damping factor.

ex-ch18-12

Hard

Show that in the far-field limit rβ†’βˆžr \to \infty, the polar dictionary Apolar\mathbf{A}_{\text{polar}} collapses to the far-field DFT dictionary up to a range-independent phase factor. Conclude that polar-OMP is backwards compatible with far-field sparse recovery.

ex-ch18-13

Hard

A 64Γ—6464 \times 64 XL-MIMO panel is partitioned into 8Γ—88 \times 8 subarrays of size M=64M = 64. A user's VR covers a 14Γ—1414 \times 14 contiguous block of antennas. How many subarrays intersect the VR (worst case and best case over the block's position)? Compute the speedup of VR-pruned subarray MMSE over plain subarray MMSE.

ex-ch18-14

Medium

Verify numerically that the sigmoid cost βˆ’log⁑(1+eβˆ’β„“)-\log(1 + e^{-\ell}) is the negative KL divergence between the variational qq and the posterior restricted to a single antenna, up to a constant. Use this to explain why the BP marginals maximize the ELBO's per-antenna contribution.

ex-ch18-15

Challenge

(Mini-project.) Implement the joint EM estimator of Algorithm AJoint VR + Channel Estimation via EM in Python and reproduce the NMSE curve of the interactive plot πŸ“ŠJoint EM vs Sequential Estimation: NMSE vs VR Mismatch. Compare against a sequential baseline and a full-aperture LS estimator. Report the ELBO trajectory over iterations and verify monotone ascent.

ex-ch18-16

Medium

The spatial correlation matrix Rk\mathbf{R}_k of a user whose VR covers ∣Vk∣|\mathcal{V}_k| antennas has at most ∣Vk∣|\mathcal{V}_k| non-zero eigenvalues. Show that MMSE estimation on the full aperture is equivalent to MMSE restricted to the support of Rk\mathbf{R}_k, provided the noise outside the support is filtered out.