Rank: 660 based on 104 downloads (last 30 days) and 17 files submitted
photo

Francesco Pozzi

E-mail

Personal Profile:
Professional Interests:
Evolution on Networks

 

Watch this Author's files

 

Files Posted by Francesco View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 May 2010 Screenshot SUB2IND4UP Linear index from subscripts of upper triangular matrix (only elements above diagonal) Single index for given subscripts of a 2D upper matrix, (no elements over the diagonal) Author: Francesco Pozzi subscripts, linear indexes, vector, matrix, array 1 2
  • 3.0
3.0 | 1 rating
03 May 2010 Screenshot IND2SUB4UP Subscripts from linear index for upper triangular matrix (only elements above diagonal) Subscripts from a given single index for a 2D upper matrix (no elements over the diagonal) Author: Francesco Pozzi subscripts, linear indexes, vector, matrix, array 2 2
  • 3.0
3.0 | 1 rating
28 Apr 2010 Downside correlation This function returns the downside correlation for the columns of variable Y Author: Francesco Pozzi variance, standard deviation, covariance, correlation 4 0
28 Apr 2010 Upside correlation This function returns the upside correlation for the columns of variable Y Author: Francesco Pozzi variance, standard deviation, covariance, correlation 2 0
26 Apr 2010 Upside covariance This function returns the upside covariance for the columns of variable Y Author: Francesco Pozzi variance, standard deviation, covariance 1 2
Comments and Ratings by Francesco View all
Updated File Comments Rating
31 Aug 2011 (Sub)Folders directory List all (sub)folders in a directory and total bytes. Author: Mike Sheppard

I've tried this: S=fdir('**\*.m')
and I've got this error message:

"??? Too many inputs.

Error in ==> fdir at 72
    DirTemp=cellfun(@(c) c(1:-1+max(findstr(c,'\'))),name,'UniformOutput',false); %Extract previous directory"

Any idea?

28 Aug 2011 Generalized Hypergeometric Function (vectorized) Generalized Hypergeometric Function evaluated at the values in Z, with respect to derivatives D. Author: Mike Sheppard

I have checked only few cases.

Apparently it's very fast. It is fully vectorized. Seems faster than genHyper (File ID: #5616) and hypergeom even for scalars. For example:

N = 100;
c = -.9;
r = -.7;
tic, genHyper(complex([.5, .5], [0, 0]), (2 * N - 1) / 2, (c * r + 1) / 2, 0, 0, 15), toc
tic, hypergeom([.5, .5], (2 * N - 1) / 2, (c * r + 1) / 2), toc
tic, pfq([.5, .5], (2 * N - 1) / 2, (c * r + 1) / 2), toc

Chapeau!

16 Aug 2011 logb Calculate the log of a number/matrix using a user-specified base. Author: Brett Shoelson

I had just written my own function and ... I've found yours. Trivial but handy - should be part of Matlab.

26 Aug 2010 Least Common Multiple Set Input a set of numbers as an n-dimension array, get their least common multiple. Author: Josh

I had the same problem and found your function. Thanks, Josh, very useful indeed.

03 May 2010 IND2SUB4UP Subscripts from linear index for upper triangular matrix (only elements above diagonal) Subscripts from a given single index for a 2D upper matrix (no elements over the diagonal) Author: Francesco Pozzi

% Note that if
A = rand(10);
% and
b = A(find(triu(A, 1)));
% then, given indices
IND = [1:45];
% for vector b, these are equivalent to subscripts
[I, J] = ind2sub4up(IND);
% for matrix A. In fact:
all(A(sub2ind([10, 10], I, J)) == b(IND))
%
% ans =
%
% 1
%
% This is obtained without even knowing about size(A)

Comments and Ratings on Francesco's Files View all
Updated File Comment by Comments Rating
31 Jan 2012 Rankings Calculate Rankings with five different methodologies Author: Francesco Pozzi Daniel

You might like my tiedrank_(X,dim) function: http://www.mathworks.com/matlabcentral/fileexchange/34560-tiedrankxdim
The code is fully vectorised and runs pretty fast.

30 Aug 2011 Inequality Package Inequality Metrics: Gini Coefficient associated to the Lorenz Curve, Theil and Atkinson Indexes Author: Francesco Pozzi martin

I want ask a question, why I set p=rand(100,1); w=p, and the GiniCoeff(p,w) is not o. Theoratically, the answer should be zero!

30 Aug 2011 Inequality Package Inequality Metrics: Gini Coefficient associated to the Lorenz Curve, Theil and Atkinson Indexes Author: Francesco Pozzi martin

very good, Thank you!

21 Jul 2011 Weighted Kendall Rank Correlation Matrix Fast Weighted Kendall Rank Correlation Matrix (much much faster than Matlab CORR) Author: Francesco Pozzi Iyer, Arvind

Oops...please ignore the earlier comment. It was meant for another file.

23 Mar 2011 Weighted Correlation Matrix Compute coefficients of the Weighted Correlation Matrix, as an alternative to CORRCOEFF Author: Francesco Pozzi Tan Dem

Great job, but it would be better if the function could create a time series of correlation matrices recursively.

Top Tags Applied by Francesco
standard deviation, variance, correlation, statistics, covariance
Files Tagged by Francesco View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 May 2010 Screenshot SUB2IND4UP Linear index from subscripts of upper triangular matrix (only elements above diagonal) Single index for given subscripts of a 2D upper matrix, (no elements over the diagonal) Author: Francesco Pozzi subscripts, linear indexes, vector, matrix, array 1 2
  • 3.0
3.0 | 1 rating
03 May 2010 Screenshot IND2SUB4UP Subscripts from linear index for upper triangular matrix (only elements above diagonal) Subscripts from a given single index for a 2D upper matrix (no elements over the diagonal) Author: Francesco Pozzi subscripts, linear indexes, vector, matrix, array 2 2
  • 3.0
3.0 | 1 rating
28 Apr 2010 Downside correlation This function returns the downside correlation for the columns of variable Y Author: Francesco Pozzi variance, standard deviation, covariance, correlation 4 0
28 Apr 2010 Upside correlation This function returns the upside correlation for the columns of variable Y Author: Francesco Pozzi variance, standard deviation, covariance, correlation 2 0
26 Apr 2010 Upside covariance This function returns the upside covariance for the columns of variable Y Author: Francesco Pozzi variance, standard deviation, covariance 1 2

Contact us at files@mathworks.com