MATLAB: 3D plot time on x-axis, data from each column on z-axis and # of column on y-axis

3d plotsMATLAB

Hello,
So I have 50 files, each of them contain values of multiple variables, I was able to extract that into their own variables.
So now I have 4 variables each with 250000×50 dimension.
Now I would like to plot the time (variable T = linspace(0,5,250000); T=T' –> 250000×1 double) on the x-axis, data from each column (so 50 different entries of e.g. variable UH_V = 250000×50 double) in function of time on the z-axis and number of entry (so ranging from 0 to 50 of e.g. the 50 columns from UH_V) on the y-axis.
I cant seem to figure out how to do this.
Thanks in advance if this is possible.

Best Answer

waterfall(T,[1:numel(T)].',UH_V)
maybe?
Related Question