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

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

Serving Software Downloads in 976 Categories, Downloaded 30.155.231 Times

countRepetitions 1.0

  Date Added: April 06, 2013  |  Visits: 185

countRepetitions

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

How many sequences of any repeated element exist in a vector (and how long are they)? Example below.T = COUNTREPETITIONS(A) returns the total number of repetitions of anyelement in A. The n-th element in T is the number of n-time-repetitionsof any element in A.[T,D] = COUNTREPETITIONS(A) also returns a structure, containing a detailedlisting of all repetitions for each element in A.D.elements just reflects unique(A). Cell array k in D.listing contains onlythe repetitions of D.elements(k), using the same format as T.Input is restricted to be a vector of type logical, numeric or char.Matrices don't get rejected, but are interpreted as single vector, writtencolumn-wise from left to right (so possibly not what you want).Example: For A = [0,1,0,0,1,1,1,42,42,42], [T,D] = COUNTREPETITIONS(A) yields: T = [2 1 2 0 0 0 0 0 0 0], thus reporting 2x single elements, 1x a tuple, and 2x a triple of repeated elements. D = elements: [0 1 42] listing: {3x1 cell} is also easily interpreted: D.listing contains all element-wise repetitions in the same order as indicated by D.elements: D.listing{:} ans = 1 1 0 0 0 0 0 0 0 0 ( there's 1x a single 0, and 1x "[0,0]") ans = 1 0 1 0 0 0 0 0 0 0 ( there's 1x a single 1, and 1x "[1,1,1]") ans = 0 0 1 0 0 0 0 0 0 0 ( there's 1x "[42,42,42]") Thus if you are interested in the repetitions of a specific element, you may easily use logical indexing. For example: D.listing{D.elements == 42}, just yields [0 0 1 0 0 0 0 0 0 0].

Requirements: No special requirements
Platforms: Matlab
Keyword: Columnwise Logical Numeric Possibly Reporting Single Written Yields
Users rating: 0/10

License: Shareware Size: 10 KB
COUNTREPETITIONS RELATED
Organizers  -  Arkantos 1.0
Arkantos is an open source reporting tool written in PHP which provides a sophisticated environment for report writers.Access to company databases can be restricted so that data is secured. Tool would support all recognized database types.
 
Windows Software  -  Drive Image Restorer 1.0
Drive Image Restorer is free software which enables you to image your computer and restore single drives. Drive Image Restorer creates disk image files for backup or duplication purposes. The image file contains exact, byte-by-byte copy of a...
344.52 KB  
Programming  -  NumericCalcTextBox 1.0.0
The NumericTextBox is a multi-purpose TextBox Control for numeric/decimal/monetary processing written in C#/Mono. The advanced NumericCalcTextBox also features a calculator input panel and basic propositional formular processing.
45.78 KB  
Science  -  weatherget 0.4.0.1
A command line based weather reporting tool written in python. View current weather conditions, extended day forecasts, and station id lookups as reported from weather.com. Customize output via weathergetrc configuration file. Platform independent.
15.04 KB  
Instant Messagers  -  Pybber 0.1.0
Pybber is a single window Jabber client that is being written in Python+PyGnome+PyGlade+pyjama. The main objectives of this project is: * All chats and group chats in one window, using tabs. Always that's possible, use main window tabs...
61.44 KB  
Education  -  DBReport 20110504
DBReport, is for OS on which you can run Gambas, because it is written in Gambas. DBReport, can handle your Reporting. It is a standalone tool, for the creation and issuance of reports, with access to different databases.
491.52 KB  
Database Tools  -  Amped Reports 1.1
Full featured AJAX web based reporting system. Written in Java / JSP. Web based reports are dynamically generated from JDBC result sets. Connects to any JDBC compliant database, most drivers already included. The Apache Derby database is embeded.
9.02 MB  
Multimedia  -  settings dialog 1.0
settings = settingsdlg(... 'Description', 'This dialog will set the parameters used by FMINCON()',... 'title' , 'FMINCON() options',... 'separator' , 'Unconstrained/General',... {'Tolerance X' ;'TolX' }, 1e-6,... {'Tolerance on...
122.88 KB  
Vertical Markets  -  Survey Power 6.40
Create and analyze surveys, questionaires, and opinion polls. Print blank surveys, record survey responses, perform complete, thematic maps, cross tabulation, and statistical analyses of the survey responses. Professional version includes web...
6.18 KB  
Desktop Utilities  -  ImTOO Multiple Desktops 1.0.1.0209
ImTOO Multiple Desktops allows you to create multiple virtual desktops and switch between them with hotkeys or mouse. You can run applications of the same kind in one new desktop and run others on another to establish order on your desktop. With...
6.26 MB  
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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB