R = log2(M)
[F, E] = log2(M)
| Paramètre | Description |
|---|---|
| M | a variable: a matrix |
| Paramètre | Description |
|---|---|
| R | result of log2: computes the base 2 logarithm of the elements of X. |
| F | Mantissa values that satisfy this equation: M= F.*2.^E |
| E | Exponent values that satisfy this equation: M= F.*2.^E |
log2 dissects several numbers into the exponent and mantissa.
[F, E] = log2(M), any zeros in M produce F = 0 and E = 0.
Input values of Inf, -Inf, or NaN are returned unchanged in F with a corresponding exponent of E = 0.
x = [1+i,-i;i,2i];
R = log2(x)
[F, E] = log2(x)
| Version | Description |
|---|---|
| 1.0.0 | version initiale |