A proposed microwave and millimeter-wave spectrum analyzer