Suppose the function is $f(z_1, z_2) = z_1^2+z_2^2$, where $z_1, z_2 \in \mathbb{C}$. How to implement the graph in Matlab in an given interval. Can anyone help?
Your options are limited, but you can plot level curves. For example, for a fixed z1, plot the real and imaginary parts of f(z1,z2) where z2 varies over a set of concentric circles. You would have a different plot for every fixed value of z1. By letting z1 vary over (say) 60 different values (chosen along concentric circles in the z1 plane), you will generate 60 plots. I've attached a MATLAB code. You could also plot different level curves than the ones I chose. Whatever you think would help you best "visualize" f.