- Start by pre-allocating the 'Data' matrix according to the total number of scans.
- For each scan, identify the columns in the 'Data' matrix that need to be replaced with data from the 'Spectrum'.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!