From: Tiam on
Hi, I am using a function called convhulln, and it calls another function named qhullmx. However, I get the following error when I tried to run my code,

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
??? Error using ==> qhullmx
qhull input error: not enough points (1) to construct initial simplex (need 4)

While executing: | qhull Qt

Options selected for Qhull 2003.1 2003/12/30:
Qtriangulate _pre-merge _zero-centrum


Error in ==> convhulln at 71
[k,vv] = qhullmx(x', opt);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I am not very familiar with mex files (as i believe that's what qhullmx is), can someone please let me know what could possibly be causing the problem?

thanks in advance!