We demonstrate matched filtering of ultrawideband radio frequency waveforms via programmable optical phase filters implemented in a hyperfine resolution pulse shaper. As an example we demonstrate compression of frequency modulated and pseudorandom sequence waveforms.The photonic generation of radio frequency (RF) waveforms has been of interest due to its appealing features such as programmability and ultrawide bandwidth. In recent years different techniques have been investigated and utilized to photonically generate ultra-wideband arbitrary waveforms [1][2][3][4][5][6][7]. The use of ultrafast optical pulse shaping followed by frequency-to-time mapping, via optical fiber dispersion, and optical-to-electrical conversion for the generation of arbitrary RF electrical waveforms has been demonstrated [1-2] which also enabled to synthesize matched waveforms to compensate ultrawideband (UWB) antenna link dispersion [8-9] and measure the frequencydependant delay of broadband antennas [10]. On the other hand photonic processing of radio frequency signals has been extensively investigated only as microwave spectral amplitude filters which enable bandpass filtering of microwave signals [11][12][13]. However, practical techniques with large fractional bandwidth to detect and process arbitrary signals for UWB applications such as code division multi-access are still lacking. In microwave engineering, due to the lack of arbitrary phase filters, matched filtering is commonly carried out through correlation, i.e., by mixing with an RF reference waveform, which requires synchronism and suffers from timing jitter, while digital signal processing solutions are limited by analog-to-digital converters' speed and dynamic range [14].Real time matched filtering can be used for asynchronous detection of UWB microwave waveforms which also enables to differentiate different waveforms for multi-access application while improving the signal-to-noise ratio. The available solution for UWB RF waveform matched filtering is surface acoustic wave (SAW) devices; however, for UWB operation SAW filters have been demonstrated only for center frequencies up to 3.63 GHz with 1.1 GHz bandwidth [15], which has a small fractional bandwidth and is well below the bandwidths accessible via photonic waveform generation techniques. Recently programmable photonic microwave filters with arbitrary UWB phase response were implemented via hyperfine resolution optical pulse shaping [16] which unveils a new approach for asynchronous detection of UWB electrical waveforms with large fractional bandwidth through matched filtering.