Finding poinnt of interception between two lines on graph
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Joe Bennet
am 24 Mär. 2022
Kommentiert: Joe Bennet
am 24 Mär. 2022
I have the graph shown below, i want to find the point on the y axis where the red line (at a known value of x 'N(1)') intercepts the blue curve, but I keep getting an error that says "Error using matlab.internal.math.interp1, Sample points must be unique."
N= length(Kr);
Nn= zeros(N,1)+sr;
hold on
plot(Nn,Kr,"--","linewidth",2)
xlabel("Sr")
ylabel("Kr")
title("R6 Envelope")
X= interp1(s, K, Nn(1))
How can I fix this? Thanks

2 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Find more on 2-D and 3-D Plots 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!