File Exchange

image thumbnail

MATLAB Implementation of Harmonic ANalysis of Time Series (HANTS)

version (305 KB) by Mohammad Abouali
Harmonic ANalysis of Time Series (HANTS)


Updated 30 Oct 2012

View License

About a year ago, (Fall 2011) I implemented the HANTS algorithm in MATLAB. HANTS originally was developed at NLR ( to remove the cloud effects and temporally interpolate data. The program executables under Windows are available free of charge for download from the provided link.
HANTS can be used to remove the outliers, smooth the data set, interpolate the missing data, and to compress the data. The last part, i.e. data compression, was not visioned by the original developers; but anyhow you can use it to do data compression quite efficiently.
For more information on HANTS implementation on MATLAB, it's capabilities to perform data compression, and some outputs you can go to
Recently, I receive more e-mail request for the code. Well, hopefully by uploading it on MATHWORKS, it would be easier to download the code.
Should you have any questions, do not hesitate contacting me.

Cite As

Mohammad Abouali (2020). MATLAB Implementation of Harmonic ANalysis of Time Series (HANTS) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

Handa Wang

zhen zhang

It works well! Thank you!

I hope this program work for my investigation

Nice to hear that. I didn't know that it will also work on Octave.

Thanks for this implementation. It works perfectly on GNU Octave 3.6.



MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux