- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 44
Convolution & Cross Correlation
        Sambit Paul edited this page Jun 2, 2020 
        ·
        12 revisions
      
    Convolution works in 3 modes:
- Full: This returns the convolution at each point of overlap between kernel and signal.
- Same: This returns the convolution such that it maintains the same size as the original signal.
- Valid: This returns the convolution for the point where the kernel and the signal overlap completely.
The parameters for this filter are as follows:
- Mode of Operation ⇨ Can be "full", "same", "valid"
- Kernel ⇨ 1-D Array the signal is convolved with
String mode = "full"; //Can be "valid", "same"
Convolution con = new Convolution(signal, kernel);
double[] out = con.convolve("full");
Works in the exact same way as convolve.
The parameters for this filter are as follows:
- Mode of Operation ⇨ Can be "full", "same", "valid"
- Kernel ⇨ 1-D Array the signal is cross-correlated with
String mode = "full"; //Can be "valid", "same"
CrossCorrelation cc = new CrossCorrelation(signal, kernel);
double[] out = cc.cross_correlate("full");
Wiki
- 
Filters - IIR Filters
- FIR Filters
- Kernel-Based Filter
- Adaptive Filters
 
- 
Signals 
- 
Peak Detection 
- 
Transformations 
- 
Speech 
- 
Windowing