You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Given a three-dimensional matrix the function detrends every row/column element along the third dimension. If NaN values exist those will be ignored while the remaining non-nan values in the same row/column pair will still get detrended. An optional argument allows to specify the time of each slice. For an example use and origin, see https://stackoverflow.com/questions/45001976/ignore-nan-when-detrending-3-d-array
Cite As
leander moes (2026). detrendNaN3 (https://uk.mathworks.com/matlabcentral/fileexchange/63749-detrendnan3), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: detrend3
General Information
- Version 1.0.0.0 (982 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | title fix typo |
