Matlab 7 R14 function "red2"?

11 views (last 30 days)
Sam
Sam on 18 Feb 2014
Commented: Star Strider on 20 Feb 2014
I'm trying to modify some old Matlab m-files (which someone else created) from version 7 R14 to work with R2013a. I've come across a function that I can't find in the Matlab 2013a Help, or by an internet search. At this point, I'm just trying to figure out if the function was a built-in Matlab function, or if it was created by the original author of the m-files.
The name of the function is "red2", and here are the two cases in the m-files where I have found the function used:
1) v(:,1)=red2(x(:,r),'anom',anom); v(:,2)=red2(y(:,r),'anom',anom); v(:,3)=red2(z(:,r),'anom',anom); %x, y, and z are simulated time series %anom was set = to 0, and was commented "%seasonal de-trend, anom = number of season"
2) v(:,1)=red2(x(:,r),'anom',anom(1),'pad','y'); v(:,2)=red2(y(:,r2),'anom',anom(2),'pad','y'); %anom was set = to [0 0], and was commented "%remove periodicity anom"
I can tell from this info that "red2" was a kind of normalization/detrending function, but that's all I know.
Can anyone tell me if "red2" was a built-in function in Matlab version 7 R14 (or other past versions)? If so, can you post any documentation? I would really appreciate it.
Thanks, Sam
  3 Comments
Sam
Sam on 19 Feb 2014
OK, thanks. I'll email the author of the files to see if it was a function that he created.
Star Strider
Star Strider on 20 Feb 2014
My pleasure.
Good luck!

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!