フィルターのクリア

How can I make the cycle range symmetric around zero in rainflow ?

2 ビュー (過去 30 日間)
farzad
farzad 2019 年 12 月 24 日
コメント済み: Star Strider 2019 年 12 月 25 日
Hi All
I am using
rainflow( x, 'ext')
but the cycle ranges are not symmetric around zero. How can I make matlab do that ?
This is what I get from RainFlow command :
Histogram-X.png
As you see it seems like you are watching the graph from behind
instead , normally this is what I see as a histogram on internet you can see how the Cycle mean and Cycle average are swapped
hh.jpg
  1 件のコメント
farzad
farzad 2019 年 12 月 25 日
I don't know why the answer to this question was deleted, but I hope someone else checks this question

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2019 年 12 月 25 日
After all that (and deleting my first Answer because it was not solving the problem), the solution appears to have turned out to be relatively simple.
This uses an example from the rainflow documentation (specifically, Cycle Counts of Timetable). Try it with your own data:
fs = 100;
t = seconds(0:1/fs:100-1/fs)';
x = randn(size(t));
TT = timetable(t,x);
figure
rainflow(TT) % Original
figure
rainflow(TT)
set(gca, 'View',[60 30]) % Rotated Using A Simple View Call To The Last Plotted Axes
producing this originally:
1How can I make the cycle range symmetric around zero in rainflow (1) - 2019 12 25.png
and after the rotation:
1How can I make the cycle range symmetric around zero in rainflow (2) - 2019 12 25.png
Choose the View vector that produces the result you want.
  2 件のコメント
farzad
farzad 2019 年 12 月 25 日
I did not believe it could have a solution ! I got disapointed when you deleted the answer !
AMAZING and THANK YOU SO MUCH !!
Star Strider
Star Strider 2019 年 12 月 25 日
As always, my pleasure!
I deleted my Answer so someone else could contribute, since my previous attempts were not successful. It turned out that I was just over-thinking this problem.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVibration Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by