First of all, let me compliment for this excellent piece of software!!
The ASTM standard E 1049 -85 (2005) defines two distinct rainflow algorithms:
A) 5.4.4 "Rainflow counting" (that produces half-cycles)
B) 5.4.5 "Simplified rainflow counting for repeating histories" (that never produces half-cycles)
this is probably the answer to questions like the one of Ray Beale. Now I am interested in the "B" method, and I am asking the author: which algorithm is implemented here? my guess is the "A" method, with half cycles.
Second question: is there some hope to extend this function to be able to compute, optionalyy, also the B way?
If necessary I would be glad to provide more info (namely the text of the ASTM standard).
Best regards and thaks a lot for sharing!
I'm running the tool, and it works very well! Thank you!
But why you describe the cycles with Amplitudes and not Range? Is it correct, to multibly the amplitude by 2 at the end to get the range?
(2*mx) to get the
If you are running MatLAB R2012b on a Macbook you can follow the link below in order to use the rainflow.c script:
It will guide you how to install Xcode, patch it and then you are ready to compile your mex file for Matlab by writing this in your command window:
I'm currently running MatLAB R2012b on my Macbook Pro, but I'm having trouble running the script. Is there a rainflow.mexOSX? When I'm running rfdemo1.m it gives me this error:
Undefined function 'rainflow' for input arguments of type 'double'.
Error in rfdemo1 (line 35)