Rank: 3683 based on 34 downloads (last 30 days) and 1 file submitted
photo

Stefano

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Stefano
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Dec 2013 Screenshot GPU sparse, accumarray, non-uniform grid performance gains above 1000x over matlab spmv can be observed with cuda compatible GPU. Author: Stefano sparse, gpu, spmv, nonuniform gridding, radon transform, accumarray 34 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Stefano
Updated File Comments Rating
06 Apr 2011 Radially averaged power spectrum of 2D real-valued matrix Computes and plots radially averaged PSD of 2-D real matrix with a given spatial resolution. Author: Evan Ruzanski

Hi, I found this to be faster, hope it helps, S.
%% code for fast radial averaging:
[xx,yy]=meshgrid(-1000:1000,-1000:1000);
rr=sqrt(xx.^2+yy.^2);
ri=floor(rr/100)+1;
N=numel(ri);
[~,~,iir]=unique(ri); %find unique values
Qt =sparse(1:N,iir,ones(N,1));

tic;Pf=(rr(:).'*Qt).';toc %radial average

Comments and Ratings on Stefano's Files
Updated File Comment by Comments Rating
05 Feb 2014 GPU sparse, accumarray, non-uniform grid performance gains above 1000x over matlab spmv can be observed with cuda compatible GPU. Author: Stefano Erofeev, Mikhail

Very useful tool to speed up computations. Thank you!

Contact us