Considering the plots below, I have a problem in adding an extra dimension to a 1D rectangular pulse train. In other words, I am trying to implement a 3D grating in matlab, as shown below. Any help would be appreciated!
MATLAB: Plotting 3D grating
3d gratingrectangular pulse
Best Answer