Rank: 681 based on 188 downloads (last 30 days) and 14 files submitted
photo

Richie Cotton

E-mail
Company/University
HSL

Personal Profile:

 

Watch this Author's files

 

Files Posted by Richie Cotton View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Oct 2010 Shortcut tools Programmatically manipulate shortcuts. Author: Richie Cotton shortcut, toolbar, utility, undocumented, java 10 3
  • 5.0
5.0 | 3 ratings
12 May 2010 Preference tools Programmatically get/set GUI preferences. Author: Richie Cotton preferences, utility 5 0
12 Apr 2010 Screenshot Generate a new function m-file, with documentation This makes it really easy to document your functions in a standard format. Author: Richie Cotton utility, template, development, header, h1 line, documentation 16 1
  • 4.0
4.0 | 1 rating
23 Mar 2010 Check the number of arguments to a function Prettify checking the number of arguments to a function. Author: Richie Cotton inputs, utility 3 0
23 Mar 2010 Set default values A very simple function that initialises a missing or empty value in the caller function. Author: Richie Cotton default, inputs, utility, potw, pick of the week 14 0
  • 5.0
5.0 | 1 rating
Comments and Ratings by Richie Cotton View all
Updated File Comments Rating
26 Jul 2010 Flatten nested cell arrays Linearize a cell array tree structure Author: Manu Raghavan

11 May 2010 txt2English Takes text message language and converts to English. Author: Sean de

Quite an amusing diversion, and (sort of) does what it says. A couple of comments:
1. Question marks should really be appear at the end of the sentence, rather than after what/which/why.
2. Adding '(usage?)' to bits where you suspect the grammar is dodgy is just distracting. Add a warning if you must (with an ID, so it can be turned off).
3. The code structure with the nested loops is insane; the whole point of MATLAB is that you shouldn't need to do that sort of thing. I wouldn't want to be the person maintaining that code.
4. Can you do an english2txt reverse translator?

Comments and Ratings on Richie Cotton's Files View all
Updated File Comment by Comments Rating
03 Jun 2014 logticks Calculates tick marks at appropriate points for log-scale plots. Author: Richie Cotton Andres Totorica

Nice, thanks!
It would be useful to have an option to change the format of the labels (for example if you want to have 1000, 2000, 5000... instead of 1e3, 2e3, 2e5...)

17 Oct 2013 Shortcut tools Programmatically manipulate shortcuts. Author: Richie Cotton Ori Adam

very useful. Just the toolbox I was looking for.

17 Oct 2013 ismonotonic Determines whether or not a vector or matrix is monotonically increasing or decreasing. Author: Richie Cotton Mark Easton

Giving only a single boolean result for vectors instead of a vector of booleans.

17 Oct 2013 Jitter Adds a small amount of noise to an array. Ideal for signal processing or chaos theory. Author: Richie Cotton Minh Nguyen

Useful function but when executing this equation:
y = x + scaleFactor * randn(s) * exp(randomPhaseAngles * i);
...there is an error message of matrix dimension !!
"Error using *
Inner matrix dimensions must agree."
How can we fix this ?

15 Aug 2012 Shortcut tools Programmatically manipulate shortcuts. Author: Richie Cotton Adam Filion

Contact us