Spatial interpolation method comparison for physico-chemical parameters of river water in Klang River using MATLAB

Azhar Jaffar, Norashikin M. Thamrin, Megat Syahirul Amin Megat Ali, Mohamad Farid Misnan, Ahmad Ihsan Mohd Yassin, Noorolpadzilah Mohamed Zan


Water quality is one of the most highly debated issues worldwide at the moment. Inadequate water supplies affect human health, hinder food production, and degrade the environment. Using contemporary technology to analyze pollution statistics can help solve pollution issues. One option is to take advantage of advancements in intelligent data processing to conduct hydrological parameter analysis. To perform conclusive water quality studies, a lot of data is necessary. Unfilled data (information gaps) in the long-term hydrological data set may be due to equipment faults, collection schedule delays, or the data collection officer’s absence. The lack of hydrological data skews its interpretation. Therefore, interpolation is used to recreate and fill missing hydrological data. From 2012 to 2017, the Klang River’s biochemical oxygen demand (BOD) in Selangor, Malaysia, was sampled. This study examined three methods of interpolation for their effectiveness using the MATLAB software: piecewise cubic hermite interpolating polynomial (PCHIP), cubic Spline data interpolation (Spline), and modified Akima partitioned cubic hermite interpolation (Makima). The accuracy is assessed using root mean square error (RMSE). All interpolation algorithms offer excellent results with low RMSE. However, PCHIP delivers the best match between interpolated and original data.


Biochemical oxygen demand; Makima interpolation; PCHIP interpolation; Spatial interpolation; Spline interpolation

Full Text:




  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Bulletin of EEI Stats