How to plot unsolvable equation

I have an equation like
y * sin( y ) = x * sin( x );
And I'm gonna plot it but its an unsolvable equation and I cant solve it for x or y and plot it normally.
How can I plot this kind of equations?

 Accepted Answer

You can use fimplicit()
syms x y
eq1 = y * sin( y ) == x * sin( x );
fimplicit(eq1,[-10 10 -10 10])

More Answers (1)

fcn=@(x,y) y .* sin( y ) - x .* sin( x );
fimplicit(fcn)

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 11 Feb 2022

Answered:

DGM
on 11 Feb 2022

Community Treasure Hunt

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

Start Hunting!