Table Of Contents

convcirc

Version:
    Last Modified: March 15, 2017

    Computes the circular convolution of two input vectors.

    Syntax

    x = convcirc(a, b)
    x = convcirc(a, b, n)
    Legacy name: cconv

    Inputs

    a

    Real or complex input vector. If length(a) is greater than n, MathScript wraps a. If length(a) is less than n, MathScript pads the end of a with zeros.

    b

    Real or complex input vector. If length(b) is greater than n, MathScript wraps b. If length(b) is less than n, MathScript pads the end of b with zeros.

    n

    Size of the circular convolution.

    Default: length(a)+length(b)-1

    Outputs

    x

    Circular convolution of a and b.

    a1 = 0.1:0.1:0.4;
    b1 = mirrorh(a1);
    x1 = convcirc(a1,b1);
    a2=[1-j, 2+2j, 3-3j, 4+4j];
    b2=[5+0.5j, 4-0.4j, 3+3j, 2, 1];
    x2 = convcirc(a2, b2, 4);

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics