![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/536206/image.png)
Compare two datasets of different units
4 次查看(过去 30 天)
显示 更早的评论
So I have two datasets
Set 1 contains values stored as 575x1 double, in the unit of kBq/cc, it is measured each half second
Set 2 contains values stored as 487x1 double, in the unit if Bq, it is stored each whole second
I want to plot them in the same figure to compare the two sets, but due to there being a order shift, the second set of data is much larger than the first set.
How can I find a calibration factor/coefficient that maybe I can use to make the second set in the same units as the first set (i.e make Bq to kBq/cc)?
I was thinking about a regression analysis, but I do not really know if the R I get from set 1 acutally is just to multiply with set 2 and it gives the right unit. I am really out on deep water and unsure of what to do.
I will post the three plots I've made so it will be easier to visualize the data
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/536011/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/536016/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/536021/image.jpeg)
0 个评论
采纳的回答
Veronica Taurino
2021-3-2
编辑:Veronica Taurino
2021-3-2
You could just plot them in one figure with two axes:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/536206/image.png)
4 个评论
Veronica Taurino
2021-3-4
编辑:Veronica Taurino
2021-3-4
I get it better know. Maybe you already know it but try checking with the instrument producer, they should provide some calibration factors.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 National Instruments Frame Grabbers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!