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

David Doria

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by David Doria View all
Updated File Comments Rating
27 Aug 2013 Format Tick Labels (Extended) Replace Tick Label with LaTeX compatible Objects. Extends file 15986 created by Alexander Hayes. Author: Patrick Toche

The x axis label seems to overlap the x tick labels?

data=rand(5);

plot(0:pi/4:pi, data,'LineWidth', 3);

format_ticks(gca,{'0', '\pi/4', '\pi/2', '3\pi/4', '\pi'},[],0:pi/4:pi)

ylim([0 1]);
xlabel('My x label')
ylabel('My y label')

fontSize = 20;

set(gca,'FontSize',fontSize)

09 May 2013 Distance calculation using Haversine formula Compute the distance between two locations using the Haversine formula Author: Josiah Renfree

As Jamie mentioned, deg2rad is required (which can be found here: http://www.mathworks.com/matlabcentral/fileexchange/28503). Also, it is not explicit in the doc, but the input arguments are haversine([lat1 long1], [lat2, long2]).

23 Nov 2009 Adaptive Robust Numerical Differentiation Numerical derivative of an analytically supplied function, also gradient, Jacobian & Hessian Author: John D'Errico

Contact us