Rank: 3318 based on 15 downloads (last 30 days) and 3 files submitted
photo

Francesco Montorsi

E-mail
Company/University
University of Modena and Reggio Emilia

Personal Profile:

PhD student

Professional Interests:

 

Watch this Author's files

 

Files Posted by Francesco View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Apr 2012 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi sleep, power, save, insomnia, long computation 7 5
15 Mar 2012 Screenshot Scatterplot with points indexes Like standard scatterplot() function but adds indexes of the data points. Author: Francesco Montorsi scatterplot, communications 1 0
06 Mar 2012 Screenshot Segments Intersection Test Functions Functions that count the intersections among 2-D segments. Special cases are accounted for. Author: Francesco Montorsi segment, 2d, intersection, intersect, mex 7 0
Comments and Ratings by Francesco View all
Updated File Comments Rating
11 Dec 2012 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens

Hi,
great toolbox, thanks.
By the way, I agree with Allan's comment (see below) that regarding the Von Mises distribution, it may be useful to have an implementation with higher numerical stability. In particular, I added this trivial function, which returns the log-pdf of the Von Mises distrib:

function [p alpha] = circ_vm_logpdf(alpha, thetahat, kappa)

% if no angles are supplied, 100 evenly spaced points around the circle are
% chosen
if nargin < 1 || isempty(alpha)
alpha = linspace(0, 2*pi, 101)';
alpha = alpha(1:end-1);
end
if nargin < 3
kappa = 1;
end
if nargin < 2
thetahat = 0;
end

alpha = alpha(:);

% evaluate pdf
C = -log( 2*pi*besseli(0,kappa) );
p = C + kappa*cos(alpha-thetahat);

Thanks to the greater numerical stability log-pdfs are often used in place of pdfs, so this little function may be of help to others...

03 Dec 2012 PARFOR Progress Monitor v2 This version is an update of the progress monitor made by Edric Ellis. Author: Willem-Jan de Goeij

very useful in my parallel simulations! by the way, whenever you run parallel simulations where you don't know in advance the number of cycles of the parfor, it would be very useful to have a function to update the total number of cycles given at construction time...

09 Nov 2012 Example MATLAB class wrapper for a C++ class An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface. Author: Oliver Woodford

Works great! perfect to start interfacing C++ object-oriented code to MATLAB

02 Oct 2012 Shade area between two curves Function shades the area between two vectors. Author: John Bockstege

I use this function for plotting confidence intervals... it's very useful, thanks!

12 Jul 2012 timebar Similar to waitbar, but with estimated time remaining and progress percentage. Author: Chad English

Very nice function!
Note however there is a typo, at line 29, in the comments containing an example to run, it should be "timebar(h,i/100)" instead of "timebar(h,1/100)", otherwise the progress signaled to the timebar is always 1/100 instead of proceeding toward 100 :)

Comments and Ratings on Francesco's Files View all
Updated File Comment by Comments Rating
21 Jul 2012 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Simon, Jan

Please consider this warning also: http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/AwayMode.doc

25 Apr 2012 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Montorsi, Francesco

I've updated the ZIP file with corrected files!

25 Apr 2012 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Roberts, Sam

The file insomnia_header.h appears to be missing from the submission.

18 Apr 2012 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Montorsi, Francesco

yes, you're right. I will replace global with persistent keyword asap :)

18 Apr 2012 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Simon, Jan

Perhaps you want to store insomnia_prevExecState as PERSISTENT instead of GLOBAL?

Top Tags Applied by Francesco
2d, communications, insomnia, intersect, intersection
Files Tagged by Francesco View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Apr 2012 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi sleep, power, save, insomnia, long computation 7 5
15 Mar 2012 Screenshot Scatterplot with points indexes Like standard scatterplot() function but adds indexes of the data points. Author: Francesco Montorsi scatterplot, communications 1 0
06 Mar 2012 Screenshot Segments Intersection Test Functions Functions that count the intersections among 2-D segments. Special cases are accounted for. Author: Francesco Montorsi segment, 2d, intersection, intersect, mex 7 0

Contact us