if trueu1=1;u2=1;u3=1;u4=1;a=0.1;b=0.5;g=0.25;t=1;A=12.*b.^2.*u3./u2;v=(b.^2.*u1+4.*b.^4.*u3+g.*u4)./b;x= -20:1:20;y= -20:1:20;z = -20:1:20;u = A./(cosh(a.*x+b.*y+g.*z-v.*t).^2);surf(x,y,z,u); colorbarend
MATLAB: 4D colur plot
i need 4d plot for any range
Best Answer