I want to plot some functions f(x,y) including singularities. For example; f(x,y)=tan(x-y)
- In Matlab, when I run the following code
syms x y; func=@(x,y) tan(x-y); fsurf(@(x,y) func(x,y), [-4 2 -1 1]);
- In Mathematica, when I plot the same function, I can remove the discontinuities using Exclusions -> "Singularities"
My question: In MATLAB, how to remove vertical asymptote lines in Matlab's figure like Mathematica?
-How to find the asymptote lines in Matlab. After finding the asymptote, maybe we make it invisible in the plot.