definition of mask function
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear matlab expert, I got this function
eof_maps = eof(A,'mask',mask);
where A is a 3D matrix e.g 5x3x6. In the documentation, it says only performs EOF analysis on the grid cells represented by ones in a logical mask whose dimensions correspond to dimensions 1 and 2 of A. So I need to replace the varargin 2 with 5*3?
댓글 수: 1
Walter Roberson
2022년 12월 16일
That appears to refer to a File Exchange contribution by @Chad Greene https://www.mathworks.com/matlabcentral/fileexchange/70338-climate-data-toolbox-for-matlab
채택된 답변
Walter Roberson
2022년 12월 16일
The 'mask' input for a 5 x 3 x 6 array for that function should be a 5 x 3 logical array.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!