I would like to have simple matlab codes for measuring the changes in amplitude and frequency of pure sinusoidal signal in a disturbed environment and subsequently to show the results graphically in amplitude v/s time plot using extended kalman filter.