Finding intersect between 2 lines.
古いコメントを表示
I'm trying to find out the value of x when y = 22948. I've tried the intersect and find command but can't get it to work.
clear vars
clear
clc
% Experimental Data
cpm = [45896,36896,32296,27696,20896,16396,11896,8396];
thickness = [0,1.6,2.4,3.3,4.9,6.4,9.5,12.7];
half_cpm = 22948;
% Plot data
figure()
t=plot(thickness,cpm)
hold on % Retain current figure
yline(half_cpm) % Add horizontal line at I = I0/2
xlabel('Thickness of lead (mm)');
ylabel('Background Corrected Counts per Minute (cpm)');
title('Effectiveness of lead at attenuating gamma radiation.');
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!