MATLAB: How to create a three dimensional succession

3d element

Hi to everyone! What I would like to know is how I can define a 1x1xN element considering that in the third dimension I would like to have something like:
freq = (5:0.5:15)*1e9;
I hope I've been clear enough!

Best Answer

freq(1,1,:) = (5:0.5:15)*1e9;