Search
New Code
The C# Excel Library 2020.5
dbForge Studio for MySQL 9.0
LinkedIn Clone 2.2
Uber clone Apps 4.0
Cab Booking Script 1.3.2
Airbnb Clone HomestayDNN 3.0
Magento Language switcher 1.2.1
The .Net PDF Library 2020.3.2
IP2Location Geolocation Database 2020.5
ODBC Driver for MailChimp 2.0
ODBC Driver for NetSuite 2.0
ODBC Driver for SQL Azure 3.1
dbForge Schema Compare for Oracle 4.1
dbForge Data Compare for Oracle 5.1
dbForge Studio for Oracle 4.1
Top Code
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Code Listing by Szymon Leja

Code 1-2 of 2   






Converts any Q15 value (hexadecimal or binary) to decimal integer.

y = q152dec(x , form)

Input arguments of function:
x - its hexadecimal or binary representation stored in a MATLAB string

form - dependent on representation of input argument (hexadecimal or binary) take 'hex' or 'bin'

Valu of function:
y - decimal integer

EXAMPLE:
>> q152dec('C000','hex')



y = dec2q15( x , form )

Function that works with any decimal value (beacuse of saturation using). Available representation of Q15 format are binary or hexadecimal.

Input arguments of function:
x - decimal integer