Rank: 494 based on 133 downloads (last 30 days) and 16 files submitted
photo

Richard Medlock

E-mail
Company/University
Independent specialist A/V Systems Designer & Installer.

Personal Profile:

Please note that due to a change in circumstances and pressures of work, I am no longer an active developer on the Matlab platform and as such there will be no further updates to the submissions I have made.

I hope people still find some of my work useful and thanks to all those who have previously downloaded my submissions.

Professional Interests:
Streaming Audio, High Definition Video, Control & Automation, IP Networking

 

Watch this Author's files

 

Files Posted by Richard View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Aug 2009 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock deg2rad, angles, convert, radians, rad2deg, degrees 26 9
  • 4.55556
4.6 | 9 ratings
11 Jun 2003 Screenshot UiColorPicker MS Office Style Color Picker Author: Richard Medlock gui tools, example, color, gui, colour, graphics 4 4
  • 4.66667
4.7 | 3 ratings
19 May 2003 pickn Return P random picks of N items from an input vector A. Author: Richard Medlock statistics, probability, pick, choose, permute, permutation 4 2
  • 2.0
2.0 | 2 ratings
14 May 2003 MakeDialog Creates a simple dialog using system colours. Author: Richard Medlock gui tools, example, dialog, gui, window, utilities 1 0
28 Apr 2003 GETSYSCOL.m Returns a list of all available system colours. Author: Richard Medlock system, colors, colours, ui, controls, background 1 0
Comments and Ratings by Richard View all
Updated File Comments Rating
19 Nov 2009 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock

Duane - yes you are probably correct, the original calculation however was done differently and was shorter. However, the benefit for me personally is two fold - 1) it makes it easier to troubleshoot the code because it's more readable and 2) repetitive calculations are generally best kept as functions which enable you to more easily find and replace them, and avoid mistakes in typing out duplicate code. But everyone has their own preferred way of doing things.

14 Aug 2009 Fix for DAQHWINFO Function to return separate correct lists of input and output soundcard boards. Author: Richard Medlock

Hi, thanks for your feedback - really pleased that it helped :)

14 Aug 2009 pickn Return P random picks of N items from an input vector A. Author: Richard Medlock

Hi, thanks for your feedback. This file was written well over 4 years ago (before you reviewed it) and at the time there was nothing available that did this. As with all my files they were simple (in my mind) solutions to achieve what I wanted and worked. I posted them in case anyone else found them useful. Perhaps you might consider that in future when rating (very!!) old submissions ;-)

Comments and Ratings on Richard's Files View all
Updated File Comment by Comments Rating
10 Nov 2011 Count Counts the number elements in a specified vector that match a specified criteria. Author: Richard Medlock Gergely

Please consider the FIND command which is already built in..

length(find(Data==9))

10 Nov 2011 Count Counts the number elements in a specified vector that match a specified criteria. Author: Richard Medlock Gergely
01 Nov 2011 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock CHAKRABARTI, Brato

Makes computation time longer. Very simple. Yet very useful at times.

18 Oct 2011 Count Counts the number elements in a specified vector that match a specified criteria. Author: Richard Medlock Mark

For me histc(x,unique(x)) did what I wanted. This gives me the frequency of each value that occurs in the vector x.

19 May 2010 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock Gibson, Jeff

Good simple function. Any true programmer understands the importance of maintainability and code reuse from a software engineering perspective, espcially when the performance hit is infinitesimal.

Top Tags Applied by Richard
example, gui, gui tools, utilities, convert
Files Tagged by Richard View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Aug 2009 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock deg2rad, angles, convert, radians, rad2deg, degrees 26 9
  • 4.55556
4.6 | 9 ratings
11 Jun 2003 Screenshot UiColorPicker MS Office Style Color Picker Author: Richard Medlock gui tools, example, color, gui, colour, graphics 4 4
  • 4.66667
4.7 | 3 ratings
19 May 2003 pickn Return P random picks of N items from an input vector A. Author: Richard Medlock statistics, probability, pick, choose, permute, permutation 4 2
  • 2.0
2.0 | 2 ratings
14 May 2003 MakeDialog Creates a simple dialog using system colours. Author: Richard Medlock gui tools, example, dialog, gui, window, utilities 1 0
28 Apr 2003 GETSYSCOL.m Returns a list of all available system colours. Author: Richard Medlock system, colors, colours, ui, controls, background 1 0

Contact us at files@mathworks.com