https://nl.mathworks.com/help/matlab/ref/stem3.html
stem3 - Plot 3-D discrete sequence data - MATLAB
This MATLAB function plots entries in Z as stems extending from the xy-plane and terminating with circles at the entry values.
sequence dataplotdiscretematlab