MATLAB: How to make 3D bar plot based on their individual coordinates (X,Y)

barbar3chart;coordinatesMATLABscatterbar3

Is there a function that can plot data points (Z) as a 3D bar based on their individual coordinates (X, Y)? 
The built-in "bar3" function only plots M-by-N matrix and the bars are evenly distributed.

Best Answer

The following file-exchange submission for "scatterbar3" can be used as a workaround: