Rank: 18993 based on 0 downloads (last 30 days) and 0 file submitted
photo

Jo Williams

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Jo View all
Updated File Comments Rating
02 May 2013 arrow.m Draw a line with an arrowhead. Author: Erik Johnson

Very useful, thanks. The help suggests using AXIS(AXIS) to fix the limits, I think the same effect can be acheived with AXIS MANUAL, which would be clearer.
It's also not obvious that the arrow will be a patch object, so has properties like edgecolor, facecolor, rather than line properties.

09 May 2012 tinterp - an alternative to griddata Linear and quadratic interpolation for scattered data Author: Darren Engwirda

Three years later and I'm still using it, but this code falls over in Matlab 2012a because TSEARCH has been removed. The following substitution fixes it:

%i = tsearch(p(:,1),p(:,2),t,pi(:,1),pi(:,2));

becomes
i = tsearchn(p,t,pi);

DelaunayTri and pointLocation are suggested by the error message, and may provide a speed improvement, but since I've saved a load of triangles the old way I don't really want a major rewrite!

Jo

14 May 2009 tinterp - an alternative to griddata Linear and quadratic interpolation for scattered data Author: Darren Engwirda

10 Feb 2009 Improved WHOS function Improves the readability of the WHOS function. Author: Daniel Ennis

Does what it says, useful for giving a human-readable version of the variable size. Code could use a bit of tidying up. It'd be good to see this feature in standard Matlab.

Contact us