Solve system of equations graphically
2 views (last 30 days)
Show older comments
Hello, I am a total beginer with matlab and need to solve a system of equations graphically
Here is the system of equations:
Thanks in advance!
3 Comments
Sam Chak
on 2 Nov 2022
I tested your code:
x = -5:0.05:5;
y1 = x.^3;
y2 = 6./x;
plot(x, y1, x, y2)
xticks([-5:5])
Answers (1)
Sam Chak
on 2 Nov 2022
Alternatively, you can also do like this:
Solve or plot this polynomial:
x = -2:0.01:2;
y = x.^4 - 6;
plot(x, y), grid on
yline(0, '--')
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!