how to find intersection point of these graph??

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

KSSV
KSSV il 19 Mar 2019
Read about size.
  10 Commenti
ARUN
ARUN il 5 Mag 2021
Modificato: ARUN il 5 Mag 2021
It (p) has value in it. It is not empty.
KSSV
KSSV il 6 Mag 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.

Accedi per commentare.

Tag

Prodotti


Release

R2011b

Community Treasure Hunt

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

Start Hunting!

Translated by