Posts

Showing posts with the label number

float-pointing number in MatLab -- MatLab

float-pointing number in MatLab -- MatLab properties flintmax abbreviation of float largest integer max. f= flintmax  returns the largest consecutive integer in IEEE ®  double precision, which is  2^53 . Above this value, double-precision format does not have integer precision, and not all integers can be represented exactly. f = flintmax(precision)  returns the largest consecutive integer in IEEE single or double precision.  flintmax  returns  single(2^24)  for single precision and  2^53  for double precision. source: Largest consecutive integer in floating-point format - MATLAB flintmax (mathworks.com) intmin abbreviation of integer min. smallest value of specified integer type. v = intmin('classname')  is the smallest positive value in the integer class  classname .  Valid values for the string  classname  are 'int8' 'int16' 'int32' 'int64' 'uint8' 'uint16' 'uint32' 'uint64' [NOTE] intmin('int32')  is th...

complex number in MatLab -- MatLab

 complex number in MatLab -- MatLab properties i imagery unit it is equivalent to sqrt(-1). j same as i imagery unit it is equivalent to sqrt(-1). method complex create a complex number. syntax (1)z=complex(a,b); is equivalent to z=a+b*i; (2)z=complex(x); will return x+0*i; where x is a real number. [NOTE] In this case, isreal(z) will return false  because z is a complex number not a real number; (3)z=complex(x) will return identical of x where x is a complex number.

real field in MatLab -- MatLab

 real field in MatLab -- MatLab properties realmin smallest normalized floating-point number. realmax largest positive floating-point number.  method real get real part of the given number. isreal check it is real. return true when it is a real number. otherwise, return false. source: Real part of complex number - MATLAB real (mathworks.com)