- Use the DSP System Toolbox which provides a “Correlation” block. You can find it under the DSP System Toolbox > Statistics > Correlation.
- Double-click the “Correlation” block to set its parameters
- To implement parallel processing, you can replicate the correlation block for each channel or partition of your data that you want to process in parallel.
- Use a “Demux” block to split the input signal into multiple channels if necessary.
- After processing in parallel, you can use a “Mux” block to recombine the results from each parallel correlator.