how can i plot y1=y2

how can i plot
y1=y2
x= 0:10
y1= 1-exp(-x)
y2= x\s
???????

6 个评论

Can you be more specific? What is s in your formula? What do you mean by y1=y2?
Comment posted as flag by Abdulrahman Alamri:
thank you I found solve there is mistake 5 not s
So what further instructions? What do we do now?
Write like this
y1=y2";
x= 0:10;
y1= 1-exp(-x);
plot(x,y1)
hold on
y2=x/5;
plot(x,y2)
What about fsolve or polyxpoly?
Hello Abdulrahman,
Your objective is not clear. Please rephrase your requirements so that we will get clarity on what you want to achieve. Also, mention the code which you have written.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by