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.195.618 Times

wordhit 1.0

  Date Added: August 30, 2013  |  Visits: 279

wordhit

Report Broken Link
Printer Friendly Version


Product Homepage
Download (48 downloads)



Consider the following problems:- is HH or TH more likely to appear first in a series of coin flips?- how long does it take on average for a monkey to type out the phrase "to be or not to be"?WORDHIT solves the general problem for any list of reasonably-sized words. For example,wordhit('HH','TH') % returns [1/4,3/4][P,T]=wordhit('HH','TH') % T = [0.5,2.5]T./P % conditional hitting times [2,10/3]sum(T) % total hitting time [3]% optional symbolic probability values (requires Symbolic Toolbox)[~,t]=wordhit(repmat('H',1,5),'',sym('p')) % (1+p+p^2+p^3+p^4)/p^5The algorithm works by determining the transition matrix of the Markov chain where each state represents a given combination of matches to the first few elements of each word, with the absorbing states being where a full word is matched. This allows the hitting probabilities and hitting times to be expressed as limits of matrix powers.The values can be challenging to compute even for some relatively small examples, so several methods have been implemented.For some examples the results are accurate to values close to REALMIN, e.g.log2(wordhit(repmat('H',1,1000),'TH')) % get [-1000,0]For other examples, a modified Kramer's method is more accurate due to poor conditioning of the transition matrix:[~,t]=wordhit(repmat('H',1,500)) % accuracy warning[~,t]=wordhit(repmat('H',1,500),'','kramer') % get 2^501 as expected[~,t]=wordhit('to be or not to be','','kramer') % 5.815e25% adjust for unequal key probabilites:[~,t]=wordhit('to be or not to be','',[32*ones(1,26),190]/2800,'kramer') % 1.225e31See the help file for more examples and extensive documentation of the options, theory and methods.Let me know if you find any bugs or interesting examples

Requirements: No special requirements
Platforms: Matlab
Keyword: Accurate Close Compute Examples Implemented Methods Results Small
Users rating: 0/10

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


WORDHIT RELATED
Communication  -  Overlap Add Overlap Save methods implementation for block DFT processing 1.0
The overlap add and overlap save are the two generally implemented methods when the input is greater than the maximum processible block in MATLAB because of memory constraints.
10 KB  
Utilities  -  WineCD 1.10
WineCD is a cdrom ejector application that can helps to eject and close cdrom/dvdrom tray programmatically Advantage : - Small size about (16kb) (and that's all it takes!) - doesn't use bloated dll from some RAD software - easy to...
13.4 KB  
Calendars & Scheduling Tools  -  wm06 1.1
wm06 is a small WM06 planner to store results and dates of the football event in 2006. wm06 project calculates the meetings of the eighth final to final from the results..
37.89 KB  
Development Tools  -  Extrimely fast general n-dimensional interpolators 1.0
This interpolation package re-implements Matlab's built in methods ppval (1-d case polynomial evaluator) and ppual (multidimensional polynomial evaluator) which are used by Matlab to evaluate polynomial in their so called "pp-form". Matlab's built...
40.96 KB  
Business  -  OpenFTS 0.40
OpenFTS (Open Source Full Text Search engine) is an advanced PostgreSQL-based search engine that provides online indexing of data and relevance ranking for database searching. Close integration with database allows use of metadata to restrict...
81.92 KB  
Development Tools  -  Tree data structure as a MATLAB class 1.0
A per-value class that implements a generic tree data structure.A tree is a hierarchical data structure where every node has exactly one parent (expect the root) and no or several children.Along with this relational structure, each node can store...
81.92 KB  
Education  -  Percentile Based Winsorizing 1.0
This script calculates thresholds for the top and bottom percentiles of log ratio data, as specified by the user, for the purpose of winsorizing * replacing extreme log ratio values with the calculated thresholds. Winsorizing data prevents...
10.24 KB  
Miscellaneous Mail Tools  -  Policy Daemon for Linux 2.0.11 RC1
Policyd currently comes in two flavors. The old v1 and the new v2 (which has most of v1's features). When v2 has all the features in v1 and there is a clearly defined upgrade path, v1 will be discontinued. Policyd v2 (codenamed "cluebringer")...
921.6 KB  
Programming  -  Date::Holidays::Abstract 0.05
This module is an abstract class intended for Date::Holidays::* The goal is to have all the existing and future modules implement the same methods, so they will have a uniform usage and can be used in polymorphic context or can be...
10.24 KB  
Programming  -  vzaar For Linux 1.0.2
This is a wrapper for Vzaar's version 1.0 API. As of this repository's initial commit, all documented API methods are implemented. The most up-to-date version of this code will be available at https://github.com/fourk/vzaar
10.24 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