How do I find out if a multivariate function is multimodal?

36 Views Asked by At

I have programed a function in Matlab. Trying to optimize it, the local gradient based optimizer fails, while a global one doesn't. I suspect that the function is multimodal and that this is the cause of the failure.
How can I actually determine if a multivariate function is multimodal?