Matlab 7 R14 function "red2"?

조회 수: 10 (최근 30일)
Sam
Sam 2014년 2월 18일
댓글: Star Strider 2014년 2월 20일
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