I have the next equation which represents a circular gaussian. I have a little trouble because when I plot this equation gives me a normal gaussian. I can't see any circular shape. I have the next code:
x = linspace(-3, 3);y = x;R = {3, 2, 1};for i=1:length(R) f = exp(-((x/R{i}).^2 + (y/R{i}).^2)); hold on; grid on; plot3(x, y, f);end
This code produce me the next plot:
Best Answer