Vincent ]]>

Please provide an example of how you did the gap filling using HANTS similar to the second graph above. I have data for a years period with gaps (NaNs). I need to estimate the phi and amp from the same data then gap fill it. Will appreciate.

Thanks

Vincent

http://www.mathworks.com/matlabcentral/fileexchange/38841-matlab-implementation-of-harmonic-analysis-of-time-series–hants-/content//HANTS/HANTS.m ]]>

function [amp,phi,yr]=HANTS(ni,nb,nf,y,ts,HiLo,low,high,fet,dod,delta)

the first one is amplitudes and the second one is phase.

]]>Would you kind enough to send me a Matlab version of HANTS which is used to determine high frequency signal with reasonalbe amplitude of magnetometer data? (140 data points of 1 day at a given longitude: Totally I have 72 longitude and 365 days)

]]>