Table Of Contents

wilkinson

Version:
    Last Modified: March 15, 2017

    Generates the Wilkinson test matrix for eigenvalue solvers.

    Syntax

    c = wilkinson(a)
    c = wilkinson(a, s)

    Inputs

    a

    Size of the test matrix. a is a positive scalar.

    s

    Output type. s is a string.

    Name Description
    'single' Single output type.
    'double' Double output type.

    Default: 'double'

    Outputs

    c

    a-by-a square Wilkinson matrix. c is symmetric and tridiagonal. The eigenvalues of c are ill-conditioned because you cannot separate them easily.

    A = wilkinson(9)
    C = eig(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics