Clear Filters
Clear Filters

How to detrend data in Matlab2013a

1 view (last 30 days)
Victor
Victor on 13 Aug 2017
Commented: dpb on 13 Aug 2017
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
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...

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!