Matlab function which allows you to compute any other function as a sliding window along the first dimension of a matrix of data.
https://github.com/rsomervail/matlab_generalisedSlidingWindowFunction
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
% % Computes any sliding window with a chosen input function % % Usage: out = rs_winfun( data, cfg) % % data - first dimension is the one you slide through (usually time) % % cfg - structure with the following fields: % % ** essential ** % fs - sampling rate of data (Hz) % win - sliding window dimensions in seconds: [timeBefore timeAfter] % func - handle of function to be applied, e.g. @mean % % ** optional ** % func_params - parameters for the function as a cell array % toi - sample numbers to compute value for in first dimension of data (if empty computes for all timepoints) % edge_mode - 'exclude' - ignore edge values which do not have a complete window (default) % 'include' - compute these values anyway with limited values in the window % verbosity - 'quiet' - use evalc to supress command window output of the function % 'verbose' - just use feval (maybe more efficient) % % % Richard Somervail, 17/07/2022
인용 양식
Richard Somervail (2026). Generalised Sliding Window Function for MATLAB (https://github.com/rsomervail/matlab_generalisedSlidingWindowFunction/releases/tag/v1.0), GitHub. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0 |
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
