# How to determine if a critical point is a min/max on a function $f(x,y)$ on MATLAB

I am supposed, given a critical point [x,y] on a function f(x,y), determine if the point is a max/min without using the second derivative test.

So I have a program which calculates crtical points. But I don't know how to determine if it's a min/max.

Any ideas or suggestions? I am kinda new to MATLAB so there might be a obvious way to do this.