Element-wise computation of the square root for a given argument
Library
Math Functions / Math Operations
Description
The Sqrt block returns the square root for each element in array x. The block supports input of all data types except boolean. The input can be a scalar, vector or a matrix.
Figure 1. Sqrt Block
Data Type Support
Data type support is:
- Dimension: Input can be scalar, vector or matrix.
- Data Types: Input supports signals of integer, fixed-point and floating-point data type. It does not support Boolean inputs.
- Complex Numbers: Complex numbers are not supported.
The output has the same dimension and data type as the input.
Parameters
The Sqrt block has no parameters to set.