How to detrend data in Matlab2013a
1 view (last 30 days)
Show older comments
Hello, I type 'det_s=detrend(s);'but I get a warning saying Error using detrend (line 24) Wrong # of arguments to detrend. Please how do I do it?
1 Comment
dpb
on 13 Aug 2017
Looks like you've probably aliased the builtin detrend function...
What do the commands
which detrend
whos detrend
return?
Try
clear detrend
then try the function again...
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!