findSteadyState
No License
This function goes through a data-set (1) with defined steps (3) from the end of the data-set to the beginning. The standard deviation (std) within a defined time period (2) is compared with a defined maximum std (5), if the calculated std is smaller than the average it is stored together with the start time of the steady state period. In order to make this function more effective also the minimum difference between the average calculated from the steady state period has to be included (6). Optionally the lower and upper bounderies (7 & 8) can be given to exclude noise.
This function gives the following output:
*The average of the steady state periods (steadystate_mean)
*The start index of the steady state period (steadystate_index)
This function handles the following input:
1*dataX: Vector with data for analysis.
2*Tsteadystate (s): Length of steady state period.
3*Sstep (s): Length of steps for analysis dataX.
4*SampleTime (s): The sample time
5*std_crit: The minimal allowed standard deviation within a steady state period.
6*deltaX: The minimal allowed difference between the average of two consecutive steady state periods.
7*lowerBoundery (optional): Smaller or equal values in dataX defined by lowerBoundery will be ignored.
8*upperBoundery (optional): Larger or equal values in dataX defined by upperBoundery will be ignored.
Cite As
Cornelis P. Bogerd (2024). findSteadyState (https://www.mathworks.com/matlabcentral/fileexchange/17203-findsteadystate), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |