Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.349.016 Times

VChooseKR 1.0

  Date Added: June 03, 2013  |  Visits: 377

VChooseKR

Report Broken Link
Printer Friendly Version


Product Homepage
Download (45 downloads)



VChooseKR(V, K) creates a matrix, which rows are all combinations created by choosing K elements of the vector V without order and with repetitions.INPUT: V: Array of class DOUBLE, SINGLE, (U)INT8/16/32/64, LOGICAL, CHAR. Prefer (U)INT8 or (U)INT16 for speed. K: Number of elements to choose.OUTPUT: Y: Matrix of size [(N+K-1 over K), K] and same class as V.EXAMPLES: Choose 2 elements from [1,2,3,4]: VChooseKR(1:4, 2) ==> [1,1; 1,2; 1,3; 1,4; 2,2; 2,3; 2,4; 3,3; 3,4; 4,4] For speed cast the input to integer types if possible: Y = VChooseKR(int8(1:64), 3) is 6 times faster than with DOUBLEs! To get the combinations of cell arrays, use the combinations of the index: C = {'a', 'b', 'c', 'd'}; C2 = C(VChooseKR(1:4, 2)) ==> C2 = {'a','a'; 'a','b'; 'a','c'; 'a','d'; 'b','b'; 'b','c'; ... 'b','d'; 'c','c'; 'c','d'; 'd','d'}This MEX version is faster than COMBINATOR of Matt Fig: E.g. ~7 times for K=64, N=2, ~140 times for K=2, N=128. The older PICK of Stefan Stoll is slower than COMBINATOR. See screen shot.Tested: Matlab 6.5, 7.7, 7.8, WinXP, Compilers: BCC5.5, LCC2.4/3.8, Open Watcom 1.8Please run the unit-test TestVChooseKR after compiling or to compare the speed with other functions from the FEX, if they are found in the path.See also: VChooseK (no repetitions, no order): http://www.mathworks.com/matlabcentral/fileexchange/26190VChooseKRO (repetitions, order): http://www.mathworks.com/matlabcentral/fileexchange/26242I'd appreciate suggestions for improvements and bug reports sent through email - thanks.

Requirements: No special requirements
Platforms: Matlab
Keyword: K3d64 Matlab N3d128 Older Screen Slower Stefan Stoll Tested Winxp
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


VCHOOSEKR RELATED
Nature  -  Toads and Frogs ScreenSaver 1.0
7art Toads and Frogs screen saver was thoroughly tested and was proved to be very effective to fight greediness in all of its forms. Just download and enjoy this totally FREE slideshow screensaver with 22 superb images of the lovely magic creatures.
3.49 MB  
Development Tools  -  Crank-Coupler Mechanism 1.0
Define your inputs and Keep pressing ENTER when prompted by this code. To better visualize this mechanism, make sure you can see both MATLAB command window and the figure on the screen at the same time.
10 KB  
Games  -  Classic Concentration 1.0
Concentration-type game; 54 gray squares. Click a pair of squares and try to match the colors hidden beneath. Find all 27 color pairs in as few moves as possible; MATLAB returns a rating based on the number of moves it took to complete the screen.
30.72 KB  
Development Tools  -  bitgui: A graphical explorer of the IEEE 754 floating point formats 1.0
This graphical tool displays an editable binary representation of the two floating point formats used in MATLAB, namely single and double.For the selected number three displays are available:* The value as formated by the MATLAB software* The...
10 KB  
Utilities  -  Set CD-ROM Speed 1.1.6
Set-cd-rom-speed is an application for setting CD-ROM and DVD-ROM drive speed, written in Kommander. Since the issues mentioned here apply to CD-ROM and DVD-ROM drives as well as to recorders for these types of media, in this document...
20.48 KB  
All-in-One Players  -  Music Trio 5.9
Groovy software three-pack for music aficionados. Music Trio, as the name indicates, is "essentialware" for a real music fan. It consists of three independent modules. One of Music Trio users called it "the Holy Trinity of digital music...
9.01 MB  
Desktop Utilities  -  Windows 7 Logon Background Changer 1. 3. 2004
Windows 7 Logon Background Changer is a free open source software that let you change the wallpaper of the Windows 7 logon screen (also known as "welcome screen" or "login screen"). It has been tested successfully with the final version of Windows...
717 KB  
Communication  -  RF Design and Analysis 1.1
This is a collection of MATLAB functions and scripts, and a Simulink model library, useful for designing and analyzing RF communication systems.To the extent the submission has been tested, it was tested under MATLAB 5. Some blocks have not been...
81.92 KB  
Development Tools  -  Tektronix AWG 5000 and AWG 7000 Series - Driver 1.0
MATLAB is a software environment and programming language used to control instruments, make measurements, analyze data, and build test systems.MATLAB supports Tektronix arbitrary waveform generators through the Instrument Control Toolbox. This...
71.68 KB  
Development Tools  -  adj.m 1.0
Finds the adjoint of a matrix of any size. This code was tested under the student edition of matlab version 5.0. Note: This also appears to work under MATLAB 5.2.1
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
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