Rank: 2049 based on 34 downloads (last 30 days) and 3 files submitted
photo

Thomas Clark

E-mail
Company/University
University Of Cambridge
Lat/Long
52.198067, 0.11948

Personal Profile:

I'm a fluid dynamicist, currently finishing off my PhD at Cambridge University Engineering Department, UK. My specialist subject is turbulent structures in Boundary layers.

I do part time consultancy work covering tidal stream turbine design, general marine propeller/turbine design, experimental techniques (Particle Image Velocimetry and related) and design optimisation. I like to use MATLAB for most of my work!
Please feel free to contact me if you'd be interested in corresponding, or require a consultant for tasks similar to the above.

In my spare time, I walk, sail, go climbing, paint with watercolours (abstract and landscapes) and play electric guitar. At least, I would do all those things, if I wasn't using Matlab most of the time...

Professional Interests:
Fluid dynamics, Tidal Turbines, Marine Engineering, Propeller / Turbine Design, Design Optimisation

 

Watch this Author's files

 

Files Posted by Thomas View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Sep 2009 Default_Path_Retrieval Save and retrieve last-used path strings. Ideal for users of uigetfile() and similar functions. Author: Thomas Clark uigetdir, uiputfile, path handling, default path, defaultname, uigetfile 17 0
25 Jun 2009 Screenshot FORTRAN_Mex_Highlighter Improvement of syntax highlighting for FORTRAN MEX files (using an external editor like GEDIT) Author: Thomas Clark fortran, highlight, highlighter, mex, gedit, editor 9 0
25 Aug 2005 Screenshot OceanMap Manually enter matrix elements in a GUI, then save to a *.MAT file. Author: Thomas Clark matrix, tracking, flexarray, submersible, matrices, gui 8 9
  • 4.83333
4.8 | 6 ratings
Comments and Ratings by Thomas View all
Updated File Comments Rating
28 Jul 2010 tasklist / pslist Get the current tasklist Author: Sebastian Hölz

Spot on, Sebastian. I can't speak for pslist, but tasklist worked very well for me on my windows XP machine.

Enough documentation to figure it out very quickly, and a simple and neat implementation.

Cheers!

- Tom

02 Jul 2010 Local maxima and minima of a pp spline Determine the locations of local maxima and minima in a pp spline generated by pp = spline(x,Y); Author: Matthew Arthington

Ah!

Apologies - the code itself is actually spline toolbox independent - but the example code requires fnval, which can be directly replaced with ppval for non spline-toolbox users.

Suggest updating the example - I've updated my rating!

Cheers

Tom

23 Apr 2010 Patch Normals Calculates the normal vectors of a triangulated mesh (patch) Author: Dirk-Jan Kroon

I was halfway through writing this very function, when I thought... 'I wonder whether this has been done'...

Glad I checked!

This is flawless, as far as I can tell (so far I've compiled and run the example).

Cheers Dirk-Jan :)

05 Apr 2010 Genetic Optimisation Optimisation Using Genetic technique. Author: David Ireland

Pretty poor effort - not well documented, no example usage and only a few comments. Inputs and outputs are not well defined.

Also, this isn't an optimiser - it contains merely the step which 'cross pollinates' genes within a GA. Anyone wishing to use this would have to write their own code to run evaluations, test for convergence, handle exceptions, store a results database etc etc.

07 Dec 2009 Matlab Icon for Linux (with Transparency) A nice icon to use as Matlab start button in Linux. Author: Georg Stillfried

About time someone did it. Last install, I had to make one myself... now you've saved me the trouble :)

Thanks!

Comments and Ratings on Thomas' Files View all
Updated File Comment by Comments Rating
02 Dec 2008 OceanMap Manually enter matrix elements in a GUI, then save to a *.MAT file. Author: Thomas Clark Giaccari, Luigi

That'is it Ifound
Mister clark there is nothing wrong in my pc, maybe you should
turn the profile off when you run a new test try this. Especially
before giving low and inappropriate rating.
 
%% PUT THIS IN A SCRIPT AND RUN IT
% profile on
% profile clear
 
%%%%%%%%%%%%%%%%%%%%%%%%
 
%Maybe you forgot this !!!!
 
profile off
 
profile off
 
profile off
 
profile off
 
%%%%%%%%%%%%%%%%%%%%%%%
 
Npoints = logspace(1,6,15);
lengthN = numel(Npoints);
convhull_times = zeros(lengthN,1);
chull2d_times = zeros(lengthN,1);
for i = 1:lengthN
    N=ceil(Npoints(i));
    x=rand(N,1);
    y=rand(N,1);
    tic
    chull1 = convhull(x,y);
    convhull_times(i) = toc;
    tic
    chull=ConvHull2D(x,y);
    chull2d_times(i) = toc;
end
      
figure()
semilogx(Npoints,convhull_times,'g-')
hold on
semilogx(Npoints,chull2d_times,'b-')
legend({'Native convhull';'convhull2d'})
title('Performance comparison')
% profile viewer

05 Oct 2007 OceanMap Manually enter matrix elements in a GUI, then save to a *.MAT file. Author: Thomas Clark Clark, Tom

Michele,

ActiveX objects do not (usually) have a visibility property. Nor can they be embedded in an uipanel (which of course may be hidden along with it's contents).

The only way to hide activeX objects (that I know of) is to move them:
>move(handle,[x y wdth ht]);
check out the help on move for more info. Don't forget to save the original position so you can move it back!

---
Kind Regards

Tom

26 Jul 2007 OceanMap Manually enter matrix elements in a GUI, then save to a *.MAT file. Author: Thomas Clark Micheli, Michele

Thank you!

just a question: is it possible to Hide/unHide the FlexGrid control?

09 Jul 2007 OceanMap Manually enter matrix elements in a GUI, then save to a *.MAT file. Author: Thomas Clark Perlovskiy, Eugene

Thank's for good example.
However, I don't know how use the ColWidth property of flexArray. I want to exchange a column width in flexArray. Can you help me?

03 Apr 2007 OceanMap Manually enter matrix elements in a GUI, then save to a *.MAT file. Author: Thomas Clark asti, gustavi

finally something usefull

Top Tags Applied by Thomas
coefficients, default path, defaultname, editor, fit
Files Tagged by Thomas View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Dec 2009 Published MATLAB Files Polyfitn N-d polynomial regression model Author: John D'Errico approximation, surface, linear regression, fit, interpolation, polynomial 186 38
  • 4.43478
4.4 | 25 ratings
16 Sep 2009 Default_Path_Retrieval Save and retrieve last-used path strings. Ideal for users of uigetfile() and similar functions. Author: Thomas Clark uigetdir, uiputfile, path handling, default path, defaultname, uigetfile 17 0
25 Jun 2009 Screenshot FORTRAN_Mex_Highlighter Improvement of syntax highlighting for FORTRAN MEX files (using an external editor like GEDIT) Author: Thomas Clark fortran, highlight, highlighter, mex, gedit, editor 9 0
02 Jun 2009 Screenshot Patch Normals Calculates the normal vectors of a triangulated mesh (patch) Author: Dirk-Jan Kroon vertices, vertexnormals, normal vector, vertnorms, vertex, isosurface 15 1
  • 5.0
5.0 | 1 rating
25 Aug 2005 Screenshot OceanMap Manually enter matrix elements in a GUI, then save to a *.MAT file. Author: Thomas Clark matrix, tracking, flexarray, submersible, matrices, gui 8 9
  • 4.83333
4.8 | 6 ratings

Contact us at files@mathworks.com