how to plot a sym function with constant function such as x=2(vertical line) & y=3(horizontal line)?

 Accepted Answer

syms x y
eqn=y
eqn1=x
fplot(subs(eqn,y,3))
hold on
fplot(subs(eqn1,x,2))

More Answers (0)

Community Treasure Hunt

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

Start Hunting!