how to find intersection point of these graph??

2 次查看(过去 30 天)
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

采纳的回答

KSSV
KSSV 2019-3-19
  11 个评论
Rahul punk
Rahul punk 2019-3-19
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 2019-3-19
sir one more how to count these intersection point
and code show me error! some time .

请先登录,再进行评论。

更多回答(1 个)

KSSV
KSSV 2019-3-19
Read about size.
  10 个评论
ARUN
ARUN 2021-5-5
编辑:ARUN 2021-5-5
It (p) has value in it. It is not empty.
KSSV
KSSV 2021-5-6
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

标签

产品


版本

R2011b

Community Treasure Hunt

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

Start Hunting!

Translated by