I want lo graph a interseccion

1 次查看(过去 30 天)
Arturo
Arturo 2024-3-4
I dont now how can I graph an interseccion, I try with tutorials but didnt work
the functions are
x= 3 -y^2
y = x -1
The interseccions are
(-1,-2) (2,1)
  1 个评论
Dyuman Joshi
Dyuman Joshi 2024-3-4
What exactly does "graph an intersection" mean in this context?
Please specify how it "didn't work".

请先登录,再进行评论。

回答(1 个)

Chunru
Chunru 2024-3-4
% x= 3 -y^2
y1 = (-3:0.02:3);
x1 = 3 - y1.^2;
% y = x -1
x2 = (-2:0.01:3);
y2 = x2 -1;
plot(x1, y1, 'r-', x2, y2, 'b-');

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by