rainflow.m

来自「雨流计数法」· M 代码 · 共 31 行

M
31
字号
% RAINFLOW cycle counting.
%   RAINFLOW counting function allows you to extract 
%   cycle from random loading.
%
% SYNTAX
%   rf = RAINFLOW(ext)
%   rf = RAINFLOW(ext, dt)
%   rf = RAINFLOW(ext, extt)
%
% OUTPUT
%   rf - rainflow cycles: matrix 3xn or 5xn dependend on input,
%     rf(1,:) Cycles amplitude,
%     rf(2,:) Cycles mean value,
%     rf(3,:) Number of cycles (0.5 or 1.0),
%     rf(4,:) Begining time (when input includes dt or extt data),
%     rf(5,:) Cycle period (when input includes dt or extt data),
%
% INPUT
%   ext  - signal points, vector nx1, ONLY TURNING POINTS!,
%   dt   - sampling time, positive number, when the turning points
%          spaced equally,
%   extt - signal time, vector nx1, exact time of occurrence of turning points.
%
%
%   See also SIG2EXT, RFHIST, RFMATRIX, RFPDF3D.

%   RAINFLOW
%   Copyright (c) 1999-2002 by Adam Nieslony,
%   MEX function.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?