3x-y+4=0 how to solve this equation in matlab
1 view (last 30 days)
Show older comments
3x-y+4=0
1 Comment
Answers (1)
Sam Chak
on 8 Oct 2022
Hi @Adam
The given equation
can be rewritten in this familiar line equation form
You can substitute any real value into x and find y
If there is another curve that intersects with the line, then you can find a unique solution.
If there are two intersections, then there are two solutions.
x = -4:0.1:4;
y = 3*x + 4;
plot(x, y), grid on
xlabel('x'), ylabel('y')
0 Comments
See Also
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!