How to reshape a curve?
Show older comments
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 Comments
José-Luis
on 27 Mar 2014
Where should the vertical line be placed?
Joe Liang
on 28 Mar 2014
Andrei Bobrov
on 28 Mar 2014
Where all data?
Accepted Answer
More Answers (0)
Categories
Find more on Time Series Events in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!