Rank: 74 based on 2060 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, rad2deg, convert, degrees, angles, radians 245 7
  • 4.42857
4.4 | 7 ratings
11 Jun 2003 Screenshot UiColorPicker MS Office Style Color Picker Author: Richard Medlock picker, gui tools, graphics, example, color, gui 105 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 permute, permutation, statistics, probability, random, selection 112 2
  • 2.0
2.0 | 2 ratings
14 May 2003 MakeDialog Creates a simple dialog using system colours. Author: Richard Medlock gui tools, example, gui, dialog, utilities, window 98 0
28 Apr 2003 GETSYSCOL.m Returns a list of all available system colours. Author: Richard Medlock foreground, colors, system, colours, controls, windows 129 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
19 Nov 2009 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock Medlock, Richard

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.

21 Aug 2009 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock Hanselman, Duane

How does this save time? Function calling overhead makes this computationally slower than direct multiplication. Typing the function call degrees(theta) is 14 keystrokes whereas 180/pi*theta is only 12 keystrokes. The same is true for typing radians(theta). So how does this save time?

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

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 Medlock, Richard

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 ;-)

13 Aug 2009 degrees and radians Two helper functions, one converts degrees to radians, the other rads to deg. Author: Richard Medlock Joel

Simple

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, rad2deg, convert, degrees, angles, radians 245 7
  • 4.42857
4.4 | 7 ratings
11 Jun 2003 Screenshot UiColorPicker MS Office Style Color Picker Author: Richard Medlock picker, gui tools, graphics, example, color, gui 105 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 permute, permutation, statistics, probability, random, selection 112 2
  • 2.0
2.0 | 2 ratings
14 May 2003 MakeDialog Creates a simple dialog using system colours. Author: Richard Medlock gui tools, example, gui, dialog, utilities, window 98 0
28 Apr 2003 GETSYSCOL.m Returns a list of all available system colours. Author: Richard Medlock foreground, colors, system, colours, controls, windows 129 0
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com