View full-text article in PMC Sensors (Basel). 2020 Dec 2;20(23):6882. doi: 10.3390/s20236882 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 2 Newton’s method for solving the optimization. 1:k=0,f0=finitial 2:repeat 3: Compute the gradient and Hessian: ∇μ(fk) and ∇2μ(fk) 4: Choose a stepsize: tk>0 5: Update fk+1:=fk−tk[∇2μ(fk)]−1∇μ(fk) 6: k←k+1 7:until stopping criterion is satisfied 8:returnfk