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
Star Strider
2014년 2월 18일
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
2014년 2월 19일
Star Strider
2014년 2월 20일
My pleasure.
Good luck!
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!