Hexadecimal

Dec, hex, oct, bin chart in java

The following java project contains the java source code and java examples used for dec, hex, oct, bin chart. Conversion chart of decimal, hex, oct and binary. Although this only shows numbers 0 - 255 the code uses the conversion formulas and so allows any decimal number to be passed to it. The invert method also allows you to specify how much padding you want.

Extract decimal yr/month/day/hr/min/sec from a datenum. more versatile than datevec. in matlab

The following Matlab project contains the source code and Matlab examples used for extract decimal yr/month/day/hr/min/sec from a datenum. more versatile than datevec. . X = DATEPART(DATE,'part') returns the date 'part' (year, month,day, hour, minute or second) of the datenum date with the decimal equivalent of the trailing date parts in the units of 'part'.

Two's complement binary strings in matlab

The following Matlab project contains the source code and Matlab examples used for two's complement binary strings. These functions convert between binary strings and decimal numbers like the built-in MATLAB functions BIN2DEC and DEC2BIN but can accommodate negative integers (via two's complement) and fractional positive and negative numbers (via two's complement fixed point with a binary point in the string).

Pages

Subscribe to RSS - Hexadecimal