Robuta

https://ch.mathworks.com/help/ident/ref/iddata.gettrend.html getTrend - Create trend information object to store offset, mean, and trend information for... This MATLAB function constructs a TrendInfo object to store offset, mean, or linear trend information for detrending or retrending data. to storecreatetrendinformationobject