realmin

Returns a matrix whose elements are all the smallest normalized floating point number that is representable.

Syntax

R = realmin() returns a scalar.

R = realmin(n) returns an n by n matrix.

R = realmin(m, n) returns an m by n matrix.

R = realmin(d1, d2, ... dN) returns an N dimensional matrix.

Inputs

n, m, d1, d2, dN, etc.
Dimensions of the matrix to be returned.
Type: integer
Dimension: scalar

Outputs

R
The returned matrix.

Examples

One input realmin example:

realmin(4)
ans = [Matrix] 4 x 4
2.22507e-308  2.22507e-308  2.22507e-308  2.22507e-308
2.22507e-308  2.22507e-308  2.22507e-308  2.22507e-308
2.22507e-308  2.22507e-308  2.22507e-308  2.22507e-308
2.22507e-308  2.22507e-308  2.22507e-308  2.22507e-308
Two input example:
realmin(2,3)
ans = [Matrix] 2 x 3
2.22507e-308  2.22507e-308  2.22507e-308
2.22507e-308  2.22507e-308  2.22507e-308