Warning with the intrinsic detrend function.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
noquinhas
el 8 de Oct. de 2019
Comentada: noquinhas
el 8 de Oct. de 2019
Hello,
I want to use the detrend function to remove the continuous quadratic trend but I keep getting this error:
Warning: Invalid trend type '2'.. assuming 'linear'.
> In detrend (line 52)
Perhaps there is something I can do? I don't have any function overwritting this.
Thank you!
0 comentarios
Respuesta aceptada
Steven Lord
el 8 de Oct. de 2019
According to the Release Notes the ability to remove piecewise polynomial trends for higher degree polynomials was introduced in release R2019a. From the documentation for detrend in release R2018b the only allowed second inputs to the function in that release are 'constant' and 'linear'.
The online documentation is for the most recent release (currently release R2019b) and so may describe functionality not present in the release you're using if you're using an older release.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!