Rank: 3472 based on 28 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


 

Watch this Author's files

 

Files Posted by Francesco Montorsi 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 13 8
  • 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 5 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 10 0
Comments and Ratings by Francesco Montorsi View all
Updated File Comments Rating
27 Jul 2014 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi

Hi Parth! unfortunately it is much harder to create an "insomnia" tool for Linux... the closest thing I could found is "Caffeine":
https://launchpad.net/caffeine
but it looks pretty hard to integrate in a MATLAB script...

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

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

Hi Parth! unfortunately it is much harder to create an "insomnia" tool for Linux... the closest thing I could found is "Caffeine":
https://launchpad.net/caffeine
but it looks pretty hard to integrate in a MATLAB script...

16 Jul 2014 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Parth

Extremely useful - thank you! Any idea if there's an equivalent solution within MATLAB or the file exchange for OSX or Unix platforms?

29 Dec 2013 Insomnia: prevent computer sleep mode This small utility prevents, on Windows computers, the automatic sleep mode. Author: Francesco Montorsi Joao Henriques

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 Jan Simon

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 Francesco Montorsi

I've updated the ZIP file with corrected files!

Contact us