Matlab 7 R14 function "red2"?

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 Commenti

Star Strider
Star Strider il 18 Feb 2014
I don’t recognize ‘ red2 ’ from any MATLAB release in at least the last decade. I suggest you do a search for it either in the file (it could be an anonymous or implicit function) or as a function file ( red2.m ) in the set of files it came from (easy in Windows 7, more difficult in Windows 8).
Sam
Sam il 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 il 20 Feb 2014
My pleasure.
Good luck!

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Prodotti

Richiesto:

Sam
il 18 Feb 2014

Commentato:

il 20 Feb 2014

Community Treasure Hunt

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

Start Hunting!

Translated by