Binary operations

Mono and bidimensional box car convolution. fast. in matlab

The following Matlab project contains the source code and Matlab examples used for mono and bidimensional box car convolution. fast.. It uses the recursion hence, it is much faster as the windows get large. Call it two times for triangular window convolution. Example:  x=randn(300,100);  tic;y1 = conv2(x,ones(10,40),'same');toc  tic;y2 = boxconv(x,10,40);toc  err=y1-y2; norm(err,2)

The function calculates a = powermod(base,exponent,modulus) in matlab

The following Matlab project contains the source code and Matlab examples used for the function calculates a = powermod(base,exponent,modulus) . rem and mod are built -in functions in MATLAB that help solve equations of the type A=mod(base^exponent,modulus) OR      A=rem(base^exponent,modulus) But then range of values of A can be extended bu using the proposed powermod function.

Overlap add method using circular convolution technique in matlab

The following Matlab project contains the source code and Matlab examples used for overlap add method using circular convolution technique. Overlap Add Method: The overlap–add method is an efficient way to evaluate the discrete convolution of a very long signal with a finite impulse response (FIR) filter where h[m] = 0 for m outside the region [1, M].

1 d covolution in matlab

The following Matlab project contains the source code and Matlab examples used for 1 d covolution. In mathematics and, in particular, functional analysis, convolution is a mathematical operation on two functions f and g, producing a third function that is typically viewed as a modified version of one of the original functions, giving the area overlap between the two functions as a function of the amount that one of the original functions is translated.

Pages

Subscribe to RSS - Binary operations