Software Listing of Author : "Richie Cotton"

Two files are included: CALCNBINS, which calculates the "ideal" number of bins to use in a histogram, using three possible methods. (Freedman-Diaconis', Scott's and Sturges' methods.) HISTX is a wrapper for Matlab's own histogram function HIST, that uses CALCNBINS to choose the number of bins if none is provided. Examples: y = randn(10000,1); nb = calcnbins(y, 'all') % nb = % fd: 57 % scott: 44 % sturges: 15 calcnbins(y) %Uses the middle value from the above % ans = % 44 calcnbins(y, 'fd') % Choose your method % ans = % 57 histx(y) %Plots a histogram using middle method histx(y, 'all') %Plots 3 histograms, using each method

  • Platform: Matlab, Scripts

nargchk is used almost exclusively in one way: error(nargchk(minargs, maxargs, nargin, 'struct')); The third and fourth arguments are always the same, and you always wrap it in an error call. This stupidly simple function saves you typing, and prettifies your code by wrapping the above line into something more readable, namely CheckNumberArgs(minargs, maxargs);

  • Platform: Matlab, Scripts

Having your m-files documented in a standard way (or at all!) is very useful for sharing code between projects, and between people. The trouble is, clicking File -> New -> Function doesn't give you much to go on, and it is very easy to be lackadaisical about writing thorough and consistent documentation. GenerateFunctionMFile() creates a new untitled m-file with placeholder documentation, and opens the file in the editor. GenerateFunctionMFile(true), works as above but prompts you for the name of the function. The layout includes $Author, $Date and $Revision tags, which are automatically completed for you. If you use CVS or SVN as your version control system, then checking in your file will automatically cause these fields to be updated. Since typing is a lot of effort, also included is a function called "new", which is a wrapper...

  • Platform: Matlab, Scripts

The stats toolbox provides a function to calculate the geometric mean of an array, but a function for the geometric standard deviation is oddly missing. Here is a function to fill that void, with no toolbox required. The function accepts a vector, matrix or N-D array; an optional flag to normalise by N or (N-1); and an optional dimension to calculate the gsd across.

  • Platform: Matlab, Scripts

ISMONOTONIC(X) returns a boolean value indicating whether or not a vector is monotonic. By default, ISMONOTONIC returns true for non-strictly monotonic vectors, and both monotonic increasing and monotonic decreasing vectors. For matrices and N-D arrays, ISMONOTONIC returns a value for each column in X. ISMONOTONIC(X, 1) works as above, but only returns true when X is strictly monotonically increasing, or strictly monotonically decreasing. ISMONOTONIC(X, 0) works as ISMONOTONIC(X). ISMONOTONIC(X, [], 'INCREASING') works as above, but returns true only when X is monotonically increasing. ISMONOTONIC(X, [], 'DECREASING') works as above, but returns true only when X is monotonically decreasing. ISMONOTONIC(X, [], 'EITHER') works as ISMONOTONIC(X, []). ISMONOTONIC(X, [], [], DIM) works as above, but along dimension DIM. NOTE: Third...

  • Platform: Matlab, Scripts
  • Jitter
  • License: Freeware
  • Price: 0.00

Jitter adds a small amount of gaussian (white) or uniform noise to a vector, matrix or N-D array. This function is ideal for adding noise to a signal for processing, or generating starting conditions for chaotic functions. The magnitude of the noise is given as either a fraction of the smallest difference between values of the input array, or as a fraction of the range of values of this input array. See picture for an example. This file is based upon the R function 'jitter' by written by Werner Stahel and Martin Maechler, ETH Zurich. See http://stat.ethz.ch/R-manual/R-patched/lib...tml/jitter.html for details of the original. I've added support for imaginary inputs and gaussian noise, which weren't in the original.

  • Platform: Matlab, Scripts

GetPreference and SetPreference provide a programmatic alternative to the Preferences dialog (File -> Preferences). Use these to automatically configure your version of MATLAB to how you like it. (Save on setup time with each new release!) Note that these function rely on undocumented features that may change in future releases. All functions work in R2010a and R2009b, but GetPreference does not work in previous versions.

  • Platform: Matlab, Scripts

In order to set default values for variables, I find the start of my functions littered with if nargin < 1 || isempty(x) x = 1; end if nargin < 2 || isempty(y) y = 3; end etc. This is pretty ugly, so I've created a wrapper to prettify it. Honestly, it's so simple that I nearly didn't upload this, but it does make your functions cleaner. Now the above is transformed to SetDefaultValue(1, 'x', 1); SetDefaultValue(2, 'y', 3); Note that there are other ways to set defaults. See http://blogs.mathworks.com/loren/2009/05/0...ction-defaults/

  • Platform: Matlab, Scripts

A set of utilities to programmatically manipulate shortcuts (including toolbar shortcuts and help browser favourites). AddShortcut adds a shortcut to the specified group, which by default is the toolbar, e.g. AddShortcut('Tidy', 'close all hidden; clear all; clc;'); RemoveShortcuts removes shortcuts from the specified group, which by default is the toolbar, e.g. RemoveShortcuts([], 'How to Add'); GetShortcuts retrieves the details of existing toolbar shortcuts, and GetShortcutCategories retrieves the categories that those shortcuts are stored in. CopyShortcuts moves shortcuts between categories. AddBrowserFavourite adds a favourite page/command to your help browser favourites list. Note that the functions rely on undocumented MATLAB features which are subject to change. The files all work correctly in R2010a, R2009b, R2009a...

  • Platform: Matlab, Scripts
New Reviews

Print Inspector

Whether you are using a printer connected to your local desktop computer or a print server sometimes you need to see whats going on in your printer by having a close look at the print jobs sent by the users. Print Inspector is such type software ...


Disk Genius

Disk Genius was formerly known as Partition Guru which is an all-in-one solution for disk partition management, data recovery and disk repairing. It can recover lost files from partition, backup and restore partition table, clone partition or clone ...


Safe In Cloud

It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...


PictBear

Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime too. ...


Panda Cloud Cleaner

PC security has become a tricky and complicated subject both for home users and network supervisors, with complexity and risk factors multiplying over the years. Using a single antivirus app may not be enough anymore. That explains why many users ...


SnapCrab

Nearly every PC users need to take screenshots from time to time, whether it is for personal or professional needs. While using the basic Windows screenshot capture method is available, it is not adequate for everyone. When you want to capture ...


BitKiller

Dealing with various types of data efficiently holds the key to success in any computing task. Apart from generating new data and modifying existing files, it becomes necessary to delete existing files at times. While most users resort to using ...


New Downloads

WinTools.net Classic

Suite of tools for increasing
operating system performance.
WinTools.net cleanly removes
software from disk drives and
...

RationalPlan Single Project
for Linux

RationalPlan Single Project is
a project management software
covering the project
management areas starting with
WBS ...

Project Timer

Project Timer, a project timer
for the Windows taskbar
notification area. Project
Timer is a simple but powerful
windows ...

GlassWire Firewall

GlassWire\'s free firewall
software helps protect your
computer, privacy, and data by
monitoring your network
activity. ...

Active@ KillDisk

Active@ KillDisk provides the
ultimate solution how to erase
hard drive data in such a way
that no one can ever retrieve
...

Express Burn Plus for Mac

Express Burn Plus for Mac is
an ultra fast burner to help
save you time. Burn audio,
video, or files to CD, DVD.
Express ...

Lodgit Desk Hotel Software
for Windows

Booking software for all kinds
of lodging establishments
incl. reservation schedule,
booking and guest list,
cleaning ...

PhotoPad Pro Edition for
Mac

PhotoPad Pro Edition for Mac
Editing Software allows you to
easily edit digital photos and
other pictures. PhotoPad Pro
...

Devart ODBC Driver for
MySQL

Devart ODBC Driver for MySQL
is a high-performance
connectivity solution for
accessing MySQL, Microsoft
Azure Database ...

Devart ODBC Driver for
MongoDB

Devart ODBC Driver for MongoDB
is a high-performance
connectivity tool with
enterprise-level features for
accessing ...