findSteadyState
by Cornelis P. Bogerd
28 Oct 2007
(Updated 29 Oct 2007)
Finds periods of steady state within a data-set, and returns the start index and average of these st
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 14 Oct 2008 |
Frank B
|
|
|
|
Contact us at files@mathworks.com