White noise in Matlab — generate, analyze, and measure power

How to simulate white noise in Matlab, check spectrum and power, and relate AWGN variance to SNR — with links to AWGN generation and BER tools.