Bit-slicing function for integer matrices 1.0 |
Date Added: August 25, 2013 | Visits: 286 |
|
||||||||
function E = bitreslice(A,b_old, b_new, echo_on)Author: Damon BradleyPurpose: A is an [M by N] matrix of integers. Implicit is each element'srepresentaiton in binary, which is b_old bits wide. Matrix E is outputwhich is an [M by L] matrix of integers, with the bits of A concatenatedcolumn-wise and re-split into b_new bit-wide elements. The number of bitsper row, b_old*N must be evenly divisible by b_new to work.Inputs:A - An M by N matrix of unsigned integersb_old - Number of bits to represent A, should be based on maximum valueb_new - New number of bits to slice each bit-concatenated row of Aecho_on - Choose 1 to display underlying bit representation. Don't specify otherwiseOutputs:E - A new matrix, same number of rows as A, but whose elements a new set of integers based on the concatenation of ALL bits for every row, repackaged as elements "b_new" bits wide.Usage Example:Re arrange the 4-bit elements of matrix A into a new matrix with 3-bitelements. The product of the number of columns of A and how many bitseach element is originally represented with must be evenly divisible byb_new, the new number of bits the output matrix elements are representedwith.A = 1 4 7 2 3 5 3 3 0B = '0001' '0100' '0111' '0010' '0011' '0101' '0011' '0011' '0000'C =000101000111001000110101001100110000D = '000' '101' '000' '111' '001' '000' '110' '101' '001' '100' '110' '000'E = 0 5 0 7 1 0 6 5 1 4 6 0
|
License: Shareware | Size: 10 KB |
Multimedia & Graphics
-
jAER 20111121
jAER is built as a Java project that lets you to do real time, spike-based processing with address-event representation (AER) systems on PCs. jAER systems include temporal contrast silicon retinas AER monitor / sequencer boards developed in the... |
||
Programming
-
JCR Browser 32
A handy Apache2 licensed Eclipse based tool to display and search (not to edit) the content of a JSR 170 ( see: http://www.jcp.org ) compliant Java Content Repository. It is stable and supported since 2006. It does not support Jackrabbit 2.0. |
25.51 MB | |
Graphics Viewers
-
Krysalis jCharts 1.0.0.alpha.1
jCharts is a 100% Java based charting utility that outputs a variety of charts. This package is ideal for displaying charts via Servlets. |
1.88 MB | |
Development Tools
-
Integer Partitions via Universal Lexicons 1.0
DIRECTORIES:- SMALLPART/smallpart.mclusterindex.m- PARTITIONS/partition.mcluster.mBLLSG.mBoth are based on the Cluster Polynomial Representation of binary words of arbitrary length. The theory of Universal Lexicons is covered in the following... |
10 KB | |
Multimedia & Graphics
-
Mission: Impossible! 1.0
Your mission, should you choose to accept it, is to download these ultra-cool icons based on the hit 60's TV show! |
1.89 MB | |
Miscellaneous
-
Cyber Count for Scripts 1.0
Cyber Count is a php based graphical counter for web-sites.It features no installation, the use of file based info and graphical display of the counter. |
10 KB | |
Networking
-
Eventify - Simple Events 1.7.d
Subscribe to the RSS feed or subscribe via Email, to know what other updates/plugins/themes I am releasing and to keep track of their updates.With Eventify You can schedule events and choose to either display the events using the widget display in... |
10 KB | |
Modules
-
May The Force Be With You 0.6
This plugin when activated will display a Star Wars quote on the administrator's dashboard. This is based in the original Hello Dolly plugin by Matt Mullenweg. By the way, Matt, do you mind? Install : Upload mtfbwy.php to the... |
20.48 KB | |
Utilities
-
FreeCAD for Linux 0.12.5284
FreeCAD is a general purpose Open Source 3D CAD/MCAD/CAx/CAE/PLM modeler, aimed directly at mechanical engineering and product design but also fits in a wider range of uses around engineering, such as architecture or other engineering specialties.... |
36.56 MB | |
Networking
-
WP-Bookmark-Bloginy 1.1
This plugin add a bloginy button to vote for your post.Installation : 1. Upload 'wp-bookmark-bloginy' to the '/wp-content/plugins/' directory. 2. Activate 'wp-bookmark-bloginy' through the 'Plugins' menu in WordPress. 3. Choose your display mode,... |
10 KB |
Scripts
-
Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers.... |
5.49 MB | |
Scripts
-
B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to... |
5.49 MB | |
Scripts
-
B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or... |
5.49 MB | |
Scripts
-
Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start... |
5.49 MB | |
Scripts
-
Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed... |
5.49 MB | |
Development Tools
-
Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents... |
549.99 KB | |
Development Tools
-
VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV. |
10 KB | |
Development Tools
-
Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]... |
768 KB | |
Development Tools
-
IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without... |
51.2 KB | |
Development Tools
-
7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,... |
624.64 KB |