How to reshape a curve?
이전 댓글 표시
Hello, Masters:
I have a shock wave emission curve in water like this:

x is the distance from shock wave center and y is the shock wave pressure. The calculation was done by the Kirkwood-Bethe method.
However, this curve is physically "unreasonable" because liquid does not allow a broken wave.What we normally do is use a vertical guide line (as red line in figure) to let the left region equals the right region (as shown in the green line). After reshaping the wavefront, it should like this:

For less than 10 figures, we normally do it manually. However, we have now hundreds of these figures, and thus need a nice matlab algorithm to handle it.
Anyone has met this kind problem before? Would you please provide any idea to solve this problem...
Thank you!!!
Joe
p.s. the data is attached.
댓글 수: 3
José-Luis
2014년 3월 27일
Where should the vertical line be placed?
Joe Liang
2014년 3월 28일
Andrei Bobrov
2014년 3월 28일
Where all data?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Time Series Events에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!