How to graph the difference between two sets of data?

Hello,
To give you a little bit of context I'm graphing the data obtained in an experiment about the volumetric flow of water in a container in the presence of a leakage. As far as I know you are able to graph the residuals when comparing to a polynomial fit using the basic fitting tool, just as you can see here:
The things is that I want to know if there's a way to do something similar but between two sets of data. Let's say I have A(Experimental Data) and B(Analytical Data), and I want to use my Analytical Data the same way I'm using the polynomial fit to find the differences between A and B.
When plotting both data, it looks something like this.
I just want to compare from x = 0 to x = 30. Hope I'm making myself clear haha.
Thank you so much in advance!

1 件のコメント

Chunru
Chunru 2021 年 12 月 1 日
Post two sets of data you want to compare.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2021 年 12 月 1 日

コメント済み:

2021 年 12 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by