Merging different position (length) lines ??

1 view (last 30 days)
선.png
As shown above, when lines 1 and 2 are different in length and position, they merge.
Do you have any mathematical methods or other methods? I think that's what happens when we merge.
Can you do this in the matlab?
My English is not good. I'm sorry.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 16 Dec 2019
Although the two curves look different in length and position, technically, curve one still have values (all zero) at the begining and curve two have values (all zero) at the end.
As long as you can make the data (time and value) for the two curves the save length and at the same time point, you can just add the value together.
  1 Comment
Kang Min Kim
Kang Min Kim on 16 Dec 2019
Could you write me a matlab code that combines two lines with different positions?

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!