Changing order when calculating frequencies in a loop

조회 수: 1 (최근 30일)
Casper Drangsfeldt
Casper Drangsfeldt 2021년 12월 22일
댓글: Casper Drangsfeldt 2021년 12월 23일
For a campbell analysis of a rotation system, I'm calculating the critical frequencies with gyroscopic effect in a for loop in the frequency span of 3000 rad/s. At the end of the loop, I'm saving the frequencies in a matrix to plot the campbell diagram afterwards. Here the problem occurs. For an example, if the backward whirl frequency for the second frequency becomes lower than the forward whirl frequency of the first frequency, they switch indicies in the matrix, and therefore, the campbell diagram becomes a mess.
Does any of you have any suggestions on how to fix this problem?
Example of plot. Notice that what should be a smooth curve change color (direction).
  댓글 수: 6
Casper Drangsfeldt
Casper Drangsfeldt 2021년 12월 23일
First, I thought that the eigenshuffle would help, but it's only correcting the irst intersection. After that intersection, the mess is still the same. Otherwise, nice try though.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by