Study of sampling theorem, effect of undersampling