MATLAB Answers

Plot system of equations

72 views (last 30 days)
Emmanuel Negron
Emmanuel Negron on 4 Sep 2019
I need help on how to type this in Matlab and make a plot of this system of equations.


darova on 4 Sep 2019
Is there anything i can do for you?
Emmanuel Negron
Emmanuel Negron on 4 Sep 2019
I uploaded a picture with the discription of the system of equations I want to plot on Matlab
Range y=x= +-5
darova on 5 Sep 2019
What about plot() function?

Sign in to comment.

Answers (1)

Bhargavi Maganuru
Bhargavi Maganuru on 9 Sep 2019
You can create function handles to the named or anonymous functions.
For example, for first equation in your system of equations you can write
f = @(x) (9*x+1)/3;
For more information about creating function handles refer to the link
You can use fplot(f) function to create a plot defined by y=f(x)
ylim([-5,5]) %to limit y-axis from -5 to 5
For more information about fplot refer to the link


Sign in to comment.

Sign in to answer this question.