Table Of Contents

sqrt

Version:
    Last Modified: March 15, 2017

    Computes the square root of the input elements.

    Syntax

    c = sqrt(a)

    Inputs

    a

    Scalar or array of any dimension. The elements of a must be floating-point numbers.

    Outputs

    c

    Square root of each element in a. c is an array of the same size as a.

    Differences between Sqrt and Sqrtofreal

    Sqrtofreal is equivalent to sqrt for positive real numbers but generates an error for all other input elements.
    A = [1, 4; 0, -81]
    C = sqrt(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics