Matlab 7 R14 function "red2"?

10 次查看(过去 30 天)
Sam
Sam 2014-2-18
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 个评论
Sam
Sam 2014-2-19
OK, thanks. I'll email the author of the files to see if it was a function that he created.
Star Strider
Star Strider 2014-2-20
My pleasure.
Good luck!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by