how to find intersection point of these graph??

2 views (last 30 days)
Screenshot (214).png
filename = 'gg.csv';
A = xlsread(filename);
filename = 'gg.csv';
sheet = 1;
x1=A(:,1);
y1=A(:,2);
hold on
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);
set(gcf, 'Name', 'champion manufactering', 'NumberTitle', 'Off')
x2=[0 200 400 700];
y2=[55 65 70 40];
plot(x1,y1);
plot(x2,y2);
hold off

Accepted Answer

KSSV
KSSV on 19 Mar 2019
  11 Comments
Rahul punk
Rahul punk on 19 Mar 2019
kssv!, sir very thanful for give for valuable time to write code ,no words for your wonderfull help thank so much!
Rahul punk
Rahul punk on 19 Mar 2019
sir one more how to count these intersection point
and code show me error! some time .

Sign in to comment.

More Answers (1)

KSSV
KSSV on 19 Mar 2019
Read about size.
  10 Comments
ARUN
ARUN on 5 May 2021
Edited: ARUN on 5 May 2021
It (p) has value in it. It is not empty.
KSSV
KSSV on 6 May 2021
Okay in that case, the intersection points are more than one and you are trying to save 2*n matrix into 2*1, so there is error.

Sign in to comment.

Categories

Find more on Tables in Help Center and File Exchange

Tags

Products


Release

R2011b

Community Treasure Hunt

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

Start Hunting!