Efficient and accurate spectral analysis of large scattering problems using wavelet and wavelet‐like bases