MATLAB: How to Plot a Complex Function

complex funtionplot

Dear all,
I have a complex function with 2 variables as follows: x + (x^3*((4*h)/exp(h^2) – 1/2))/3 + (x^2*h)/(h^4 + 1)-2=0
I wanna make a 2D plot with x on x-axis and h on y-axis. Does anyone know ways to do that?
Thank you so much!

Best Answer

ezplot(' x + (x^3*((4*h)/exp(h^2) - 1/2))/3 + (x^2*h)/(h^4 + 1)-2=0')