Rank: 68 based on 596 downloads (last 30 days) and 15 files submitted
photo

Frederic Moisy

E-mail
Company/University
University Paris Sud
Lat/Long
48.70661163330078, 2.176899909973145

Personal Profile:

Visit my Matlab page: http://www.fast.u-psud.fr/~moisy/ml

Professional Interests:
Fluid mechanics, Image processing

 

Watch this Author's files

 

Files Posted by Frederic View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 May 2012 Screenshot PIVMat 2.10 A PIV Post-processing and data analysis toolbox Author: Frederic Moisy davis, data import, lavision, velocimetry, data export, piv 91 20
  • 4.83333
4.8 | 6 ratings
30 Jan 2012 Screenshot UIMAGE - UIMAGESC Display image with non-linearly spaced axis. Author: Frederic Moisy specialized, plotting, uimagesc image uneven... 20 13
  • 4.875
4.9 | 8 ratings
29 Jul 2010 Published MATLAB Files EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy curve, nonlinear, approximation, fitting, interpolation, fit 173 82
  • 4.84706
4.8 | 88 ratings
02 Jun 2010 FileSeries - Rename / renumber files, recursive directories Renaming and renumbering for series of files ; generalize the use of wildcards (*) for CD, LS ... Author: Frederic Moisy files, directories, path, subfolder, rename, renumber 42 6
  • 4.5
4.5 | 4 ratings
30 Apr 2010 Published MATLAB Files Dispersion relation for water waves Dispersion relation, and its inverse, for surface waves (eg, finding wavenumber from frequency). Author: Frederic Moisy physics, dispersion relation, water waves 13 0
Comments and Ratings by Frederic View all
Updated File Comments Rating
26 Apr 2012 EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy

To Nick:

Yes, the problem is fixed since July 2010.
See the function "remove_efmenu_fig.m".

-- The author

06 Mar 2012 EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy

Dear Joseph,
Thank you for your suggestion.
But please note that this issue has already been addressed: use the function remove_efmenu_fig (included in the toolbox since 2010) in order to remove the Ezyfit menu from a saved figure.
-- The author

31 Jan 2012 UIMAGE - UIMAGESC Display image with non-linearly spaced axis. Author: Frederic Moisy

Oooooooh... I must admit that Bjorn Gustavsson is totally right. This submission actually mimick to behavior of pcolor. Thank you for your remark, and sorry for this false good idea...
F.

17 Mar 2011 PIVMat 2.10 A PIV Post-processing and data analysis toolbox Author: Frederic Moisy

Dear Avanish, Jianan, Mohamed,
Thank you for your comments. I have posted a new version (PIVMat 2.01), which now fixes this issue. Now PIVMat is now compatible with the latest release of the ReadIMX package.
Frederic.

22 Dec 2010 EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy

Dear Basim Kakakhel,
Please try the following: ezfit(c,y,'y(c)=a*(1-exp(-b*c)')

Comments and Ratings on Frederic's Files View all
Updated File Comment by Comments Rating
10 May 2012 EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy Melzer, Michael
08 May 2012 UIMAGE - UIMAGESC Display image with non-linearly spaced axis. Author: Frederic Moisy Sven

Secondly, imagine this scenario:

You have a volume of images, and you want to scroll through those images, viewing each one. If they were monotonically spaced, you could just call h=image(X,Y,C(:,:,1)) on the first slice, then call set(h,'CData',C(:,:,i)) on the rest of the slices.

When they are NOT monotonically spaced, you now need to call h=uimage(X,Y,C(:,:,1)). The problem here is that the 'CData' has a new number of rows/columns, so for subsequent images you can't just update 'CData' like you could before.

Instead, consider if uimage also gave the *indices* it used to resample C monotonically. Now on the first image you could call:
[h,Xinds,Yinds]=uimage(X,Y,C(:,:,1))
and on subsequent calls you could now use:
set(h,'CData',C(Yinds,Xinds,i))

This would save re-calculating the resampling locations for each separate slice (since they are all the same), and it would also save deleting and re-creating image handles for each slice you want to show.

Frederic, I've just sent you an overhaul of your code that does just this (and includes the speed-up from my above comment).

08 May 2012 UIMAGE - UIMAGESC Display image with non-linearly spaced axis. Author: Frederic Moisy Sven

There are a few places where big speed gains can be made. Firstly, the interpolation step can be improved by removing a loop near line 88:

tic % Original version
    for j=1:ny
        indj = find(y<=ye(j));
        ce(j,1:nx) = c(indj(end), 1:nx);
    end
toc
tic % Faster version
    T = bsxfun(@minus, ye(:), y(:)')>=0;
    % Following two lines can be replaced with FIND_NDIM: indsJ = find_ndim(T,2,'last');
    [~, indsJ] = max(flipdim(T,2),[],2);
    indsJ = length(y)+1 - indsJ;
    ce2 = c(indsJ,:);
toc
isequal(ce, ce2)

Elapsed time is 0.013454 seconds.
Elapsed time is 0.001384 seconds.

ans =

     1

So here we get a 13x speedup (and the sped up version gives identical output to the original)

30 Apr 2012 EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy Knorn, Florian

Oh, just one question. Maybe it's just me, but I can figure out a way to use constants in an Ezfit FUN expression. Sure, I could use subs to replace known variables by their numerical values before using ezfit, but it would be very handy, in particular for scripting, if you could tell ezfit which variables *not* to consider unknown but rather use the currently assigned value for...

30 Apr 2012 EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy Knorn, Florian

Very useful, as good as an "original" Matlab toolbox. Frédéric, you really should put a PayPal donation button on your page for me and other people to click! Your work and efforts very much deserve it.

Top Tags Applied by Frederic
graphics, plotting, specialized, development environment, directories
Files Tagged by Frederic View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 May 2012 Screenshot PIVMat 2.10 A PIV Post-processing and data analysis toolbox Author: Frederic Moisy davis, data import, lavision, velocimetry, data export, piv 91 20
  • 4.83333
4.8 | 6 ratings
30 Jan 2012 Screenshot UIMAGE - UIMAGESC Display image with non-linearly spaced axis. Author: Frederic Moisy specialized, plotting, uimagesc image uneven... 20 13
  • 4.875
4.9 | 8 ratings
29 Jul 2010 Published MATLAB Files EzyFit 2.40 A free curve fitting toolbox for Matlab Author: Frederic Moisy curve, nonlinear, approximation, fitting, interpolation, fit 173 82
  • 4.84706
4.8 | 88 ratings
02 Jun 2010 FileSeries - Rename / renumber files, recursive directories Renaming and renumbering for series of files ; generalize the use of wildcards (*) for CD, LS ... Author: Frederic Moisy files, directories, path, subfolder, rename, renumber 42 6
  • 4.5
4.5 | 4 ratings
30 Apr 2010 Published MATLAB Files Dispersion relation for water waves Dispersion relation, and its inverse, for surface waves (eg, finding wavenumber from frequency). Author: Frederic Moisy physics, dispersion relation, water waves 13 0

Contact us at files@mathworks.com