image thumbnail

updated 1 month ago

Numeric to English Words by Stephen Cobeldick

Convert a numeric scalar to a string giving the English name of the number value (GB/US). (dialect, words, number names)

num2words(num,opts)

image thumbnail

updated 5 months ago

Customizable Natural-Order Sort by Stephen Cobeldick

Natural-order sort of a cell array of strings, with customizable numeric format. (natural order, sort, cell of strings)

natsort(X,xpr,varargin)

image thumbnail

updated 6 months ago

TimeStr by Stephen Cobeldick

String representation of time in HH:MM:SS.SSSS format. (time, date, datenum)

timestr(dtn,prc)

image thumbnail

updated 6 months ago

shex2dec.m by Petri Väisänen

Convert signed hexadecimal string to decimal integer. (hexadecimal, decimal, conversion)

shex2dec(h)

image thumbnail

updated 6 months ago

sdec2hex.m by Petri Väisänen

Convert signed decimal integer to hexadecimal string. (decimal, hexadecimal, conversion)

sdec2hex(d,n)

image thumbnail

updated 1 year ago

RoundX - Round to desired precision by dberm22

Rounds the elements of X with the desired precision. (round, ceil, floor)

roundx(X, decimalplaces, options)

image thumbnail

updated 1 year ago

Decimal Round by Alex May

This function rounds numbers to any given precision. (rounding, decimal, precision)

decround(in,place,type)

image thumbnail

updated 2 years ago

NUMBER SYSTEMS/ BASE CONVERTER by Divakar Roy

Convert a number between different number systems-hex,oct,bin,dec. (symbolic math, convert, change)

NUMBER SYSTEMS BASE CONVERTER

[e,factor]=div2(a)

b=str2num(a)

image thumbnail

updated almost 3 years ago

Byte data format bits manipulation by Michael Chan

Demonstrate ascii character/ symbol convert to/ from byte formats of decimal, binary and hexadecimal (ascii, character, symbol)

FormatHexStr(Str,format)

asciiToBaseValues(textContents, mode)

baseValuesToAscii(textContentsInBaseValues, mode)

image thumbnail

updated 3 years ago

Binary to Decimal coversion by Raviteja

Convert Binary to Decimal Equivalent. It also convert fractional binary values. (bin2decimal, binary to decimal, fractional)

DEC_VAL=bin2decimal(bin_num)

image thumbnail

updated 3 years ago

Find Decimal Equivalent of Binary by Mohammad Saadeh

Find the decimal value of a whole binary number including binary fractions (binary, decimal, digital logic)

find_decimal(binary)

image thumbnail

updated 3 years ago

Find Binary Equivalent of Decimal by Mohammad Saadeh

Find binary equivalent of positive decimal, fraction, or combination of both (decimal, binary, digital logic)

find_binary(decimal)

image thumbnail

updated almost 4 years ago

Improved Base Expansion Algorithm by Alexander Wallar

This is an improvement of my last base expansion algorithm (base, expansion, algorithm)

baseVecExpand(n,c,b)

image thumbnail

updated almost 5 years ago

Efficient convertors between binary and decimal numbers by Zacharias Voulgaris

Alternatives to the built-in functions bin2dec & dec2bin, exhibiting a somewhat faster performance. (binary, decimal, conversion)

b2d(x)

d2b(x)

image thumbnail

updated 5 years ago

ROUND2DP by Andrew

Round a number to a given number of decimal places (round, decimal, precision)

round2dp(x,y)

image thumbnail

updated 5 years ago

Rounding Off Number(s) to Specified Significant Figures by Yuzo Toya

Round off number(s) to specified significant figures, using two simple/powerful MATLAB functions. (significant figures, significant digits, rounding)

N=spa_sf(X,SF)

image thumbnail

updated almost 7 years ago

Q15 to decimal converter by Szymon Leja

Silmple function that converts an value from Q15 to decimal. (signal processing, q15, dec)

[y]=q152dec(x,form)

image thumbnail

updated 8 years ago

from decimal to two's complement by Moatasem Chehaiber

a function to convert a decimal number into 2's complement number of defined size (wireless, twos complement, decimal)

image thumbnail

updated 8 years ago

Galois Field Array to Decimal Array Conversion by Murad Qahwash

convert fg array to decimal numbers (coding theory, information theory, gf)

image thumbnail

updated 9 years ago

JDEC2HEX by Michael Kleder

Uses Java to convert arbitrary length decimal to hex (for nonnegative integers) (symbolic math, decimal, hex)

image thumbnail

updated 9 years ago

RECI:Calculates the reciprocal of a number with desired accuracy by Divakar Roy

Reciprocal calculation giving answer with as much decimal digits as is wished. (reciprocal, division, show)

reci(num,acc)

image thumbnail

updated 9 years ago

gc2dec by Arjun Srinivasan Rangamani

Function to convert a gray coded sequence to a decimal sequence. (gray, code to decimal, decimal)

image thumbnail

updated 9 years ago

JHEX2DEC by Michael Kleder

Arbitrary length hex to decimal conversion. (symbolic math, hex, hexadecimal)

image thumbnail

updated 9 years ago

ROUND2 by Mukhtar Ullah

Round to a specified number of decimals. (round, decimal places, utilities)

image thumbnail

updated 10 years ago

Conversion of Fractions from Binary to Decimal and Vice Versa by Sundar Krishnan

Two functions are described below which will help in conversion of Fractional numbers. (fractions, binary, decimal)

Fr_bin2dec (bin)

Fr_dec2bin (dec)

Contact us