How can I pass from 2D matrix to 3D matrix?
Show older comments
Hi,
I'm trying to pass to a 3D matrix having a 2D matrix of this type: signal 1024x512. Each row is a signal obtained by a Radar measurement lasting 14.2 of a subject that breaths and is then transformed in frequency domain with an amplitude (columns).
My 3D matrix should have as three dimensions: waveform number, amplitude, frequency.
I don't know how to put togheter these 3 parameters...
Thank you
Regards
Accepted Answer
More Answers (1)
Image Analyst
on 4 Jul 2019
Maybe
array3D = array2D; % (only do for the first 2D matrix);
array3D = cat(3, array3D, array2D); % Append array2D onto existing 3D matrix.
Categories
Find more on Pulsed Waveforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!