Rank: 44 based on 1047 downloads (last 30 days) and 25 files submitted
photo

Aslak Grinsted

E-mail
Company/University
Centre for Ice and Climate, NBI, Copenhagen University

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Aslak View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Jul 2014 ImGRAFT An image Georectification and Feature Tracking toolbox Author: Aslak Grinsted feature trackig, template matching, georectification, georeferencing, lens model, dem 15 0
09 Jul 2014 Screenshot Subaxis - Subplot Use HTML jargon for multi axis layout. Author: Aslak Grinsted annotation, customization, subplot, axis, multiplot, graphics 261 27
  • 4.86207
4.9 | 30 ratings
09 Jul 2014 Screenshot savefigure Easy way of saving figures to publication friendly format. Author: Aslak Grinsted graphics import, graphics export, save, figure, print, crop 80 6
  • 5.0
5.0 | 8 ratings
08 Jul 2014 Screenshot geotiffreadregion.m Reads a sub region of a geotiff Author: Aslak Grinsted geotiff, tiff, geotif, region, imread, jp2 37 0
22 Jan 2014 Screenshot Voxel viewshed Returns the visible area of a DEM from a given camera location. Author: Aslak Grinsted viewshed, voxel, dem, topography, visibility, camera 13 0
Comments and Ratings by Aslak View all
Updated File Comments Rating
09 Jul 2014 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda

Thank you for this. I use it in imgraft.glaciology.net for optimising camera parameters and it works great. I have also used it in another project where it also delivered a massive performance boost.

25 Jun 2014 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda

11 Jun 2014 Solar Radiation Calculates the hourly solar radiation (direct+diffuse+reflected) for a DEM integrated over on year Author: Felix Hebeler

18 Mar 2014 Subaxis - Subplot Use HTML jargon for multi axis layout. Author: Aslak Grinsted

spaceplots

28 Jan 2014 Tidal fitting toolbox fit tidal components to an observed series of sea level and use them for prediction Author: Aslak Grinsted

@janez: the reason tidalfit has larger residuals is probably that it accounts for a lineal sea level rise trend. I believe that this results in a total model that scores better in an out of sample validation.

Comments and Ratings on Aslak's Files View all
Updated File Comment by Comments Rating
05 Jun 2014 Subaxis - Subplot Use HTML jargon for multi axis layout. Author: Aslak Grinsted Hodges, Richard

I tried the first example line (in ML 2014a):

subaxis(2,1,1,'SpacingVert',0,'MR',0);

I got an error:
Error using parseArgs (line 111)
Unknown named parameter: spacingvert

Error in subaxis (line 45)
Args=parseArgs(varargin,Args,{'Holdaxis'},{'Spacing' {'sh','sv'}; 'Padding' {'pl','pr','pt','pb'}; 'Margin' {'ml','mr','mt','mb'}});

What is wrong?

Richard

02 Jun 2014 samexaxis (nice subplots with same x axis) Makes it alot easier to make nice figures with the same x axis. Author: Aslak Grinsted Wang, David

Very useful function. One minor issue: When subplots' y axis limits are explicitly set, it tends to result in yticklabel clashes. For example,

subplot(211)
plot(randn(1,100));
set(gca,'YLim',[-3 3]);
subplot(212)
plot(randn(1,100));
set(gca,'YLim',[-4 4]);
samexaxis('xmt','off','ytac','yld',1,'box','on','join')

20 May 2014 quantreg.m - quantile regression Quantile regression with bootstrapping confidence intervals Author: Aslak Grinsted Yurek, Simeon

Very nice code for Koenker and Hallock (2001). Thanks for posting.

One question: in your statement of the function rho (line 85), when r >= 0 (all positive residuals above x*p), does the function reduce to abs(r), and thus is not weighted by tau? It's true that [r - 0.*r/tau] = r.*tau, but is the tau lost (being multiplied by zero)? Could you have stated instead:

rho=@(r)sum(abs(r).*abs(tau-(r<0)))

and this way weight both over and under residuals? The stats for the bootstrap are slightly less robust but not by much. Please let me know if I'm off.

Antony: help fminsearch. 'MaxFunEvals' and 'MaxIter' can be defined as options.

25 Apr 2014 Subaxis - Subplot Use HTML jargon for multi axis layout. Author: Aslak Grinsted Sam

I think a minor minor fix to Jakob's code is to change the

if numel(Args.NumericArguments{1}) == 2

line to

if numel(Args.NumericArguments{1}) > 1

in order to deal with inputs of type subplot(2,3,1:3)

25 Apr 2014 Subaxis - Subplot Use HTML jargon for multi axis layout. Author: Aslak Grinsted Sam

Contact us