A matlab code to fit periodic data

This paper presents a computer method to find the best sine-based function, in the sense of least squares, to fit periodic data. Even though the least squares method is not a novelty, there is a void in the literature about its use to find trigonometric functions, particularly when it gives rise to...

Descripción completa

Detalles Bibliográficos
Autores: Brum, Ruth da Silva, Ramalho, Jairo Valões de Alencar, Rocha, Luiz Alberto Oliveira, Isoldi, Liércio André, Santos, Elizaldo Domingues dos
Tipo de recurso: artículo
Estado:Versión publicada
Fecha de publicación:2015
País:Brasil
Institución:Universidade Federal do Rio Grande (FURG)
Repositorio:Repositório Institucional da FURG (RI FURG)
Idioma:inglés
OAI Identifier:oai:repositorio.furg.br:1/4981
Acceso en línea:http://repositorio.furg.br/handle/1/4981
Access Level:acceso abierto
Palabra clave:Earth air heat exchanger
Least squares
Trigonometric curve fitting
Ajuste de funções trigonométricas
Mínimos quadrados
Trocadores de calor solo-ar
Descripción
Sumario:This paper presents a computer method to find the best sine-based function, in the sense of least squares, to fit periodic data. Even though the least squares method is not a novelty, there is a void in the literature about its use to find trigonometric functions, particularly when it gives rise to nonlinear systems, as it is done in this article. The respective code, implemented in the Matlab programming language, is detailed and analyzed exploring experimental data from the air and soil temperatures measured along the year in earth air heat exchangers (EAHE) built in the facilities of a case study house in the Brazilian state of Rio Grande do Sul. The fitting curves have been employed by the authors in different works to define boundary conditions to study new computer models of EAHE.