Rank: 2480 based on 51 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 18 6
  • 5.0
5.0 | 1 rating
15 Mar 2012 Screenshot Scatterplot with points indexes Like standard scatterplot() function but adds indexes of the data points. Author: Francesco Montorsi scatterplot, communications 18 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 15 0
Comments and Ratings by Francesco View all
Updated File Comments Rating
06 Oct 2013 akZoom Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. Author: Alexander Kessel

Thanks for this useful submission!
Just one problem I've found so far on my MATLAB r2013a: after a zoom by left-click (zoom by creating a rectangle), I cannot used anymore the scroll wheel to zoom in or out... do you have the same issue?

Also it would be very nice to allow the caller to specify the mapping of the mouse buttons: e.g., I would like to pan with the left mouse button and to zoom by a rectangle with the middle button... I can modify that in the code myself, but having the function configurable at runtime would be nice IMHO :)

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!

Comments and Ratings on Francesco's Files View all
Updated File Comment by Comments Rating
29 Dec 2013 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Henriques, Joao

Awesome work! I added this to my startup.m and finish.m files so that the computer doesn't sleep when I have MATLAB open (since I'm usually doing some heavy number-crunching).

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 :)

Contact us