syms X real;syms T real;syms z realX=-12:12;T=-2;2;f=(192*exp(T*i)*(2*T^5*i + 5*T^4 + 4*T^3*X^2*i + T^3*i + 6*T^2*X^2 + (9*T^2)/2 + 2*T*X^4*i - 3*T*X^2*i - (15*T*i)/8 + X^4 + (3*X^2)/2 - 3/16));g=(64*T^6 + 192*T^4*X^2 + 432*T^4 + 192*T^2*X^4 - 288*T^2*X^2 + 396*T^2 + 64*X^6 + 48*X^4 + 108*X^2 + 9);h=f./g;z=exp(T*i)-h;ezsurf(z,[-2 2 -1.2 2])zlim([0 1.8])
MATLAB: I have to construct a 3D plot and contour plot of the following equation which will result in rouge waves i have attached a pic of it .i have tried it several times but i am getting nothing.please help me with the task.any help would be appreciated
MATLABnls
Best Answer