how can i plot y1=y2

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

6 Comments

darova
darova on 23 Feb 2020
Can you be more specific? What is s in your formula? What do you mean by y1=y2?
Rik
Rik on 24 Feb 2020
Comment posted as flag by Abdulrahman Alamri:
thank you I found solve there is mistake 5 not s
darova
darova on 24 Feb 2020
So what further instructions? What do we do now?
Abdulrahman Alamri
Abdulrahman Alamri on 25 Feb 2020
Edited: Rik on 25 Feb 2020
Write like this
y1=y2";
x= 0:10;
y1= 1-exp(-x);
plot(x,y1)
hold on
y2=x/5;
plot(x,y2)
darova
darova on 25 Feb 2020
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.

Sign in to comment.

Answers (0)

Categories

Find more on Just for fun in Help Center and File Exchange

Asked:

on 23 Feb 2020

Commented:

on 26 Feb 2020

Community Treasure Hunt

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

Start Hunting!