Rank: 23 based on 4464 downloads (last 30 days) and 28 files submitted
photo

Bruno Luong

E-mail

Personal Profile:

Professional Interests:
No professionall intesrests everything is hobby!

 

Watch this Author's files

 

Files Posted by Bruno View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Nov 2009 Screenshot Free-knots spline approximation Least squares approximation of 1D data using free-knots spline Author: Bruno Luong fitting, knot removal, least squares, data compression, free knots, bspline 74 0
19 Oct 2009 Pseudo-inverse Factorize a matrix for pseudo-inverse calculation purpose Author: Bruno Luong moorepenrose, pseudoinverse, qr, tikhonov, regularization, minimum norm 191 0
13 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong round off, numerical errors, float, ismember 133 4
  • 5.0
5.0 | 1 rating
26 Sep 2009 Min/Max filter Multidimensional non-linear min/max filtering Author: Bruno Luong dilatation, running min, running max, erosion, pattern recognition, filtering 268 0
16 Sep 2009 FFT-based convolution Discrete convolution using FFT method Author: Bruno Luong conv2, gpu, fft, jacket, convn, conv 240 0
Comments and Ratings by Bruno View all
Updated File Comments Rating
12 Nov 2009 polyvalm2 - A faster matrix polynomial evaluator polyvalm2 evaluates a polynomial with a matrix argument faster than the MATLAB function polyvalm. Author: James Tursa

Neatly coded. How often do you see a Matlab stock matrix function get beaten in speed?

10 Nov 2009 polyvalm2 - A faster matrix polynomial evaluator polyvalm2 evaluates a polynomial with a matrix argument faster than the MATLAB function polyvalm. Author: James Tursa

I wish James could do a treatment for SPARSE matrix, because initialize an intermediate matrix with EYE is sometime not an option with large (sparse matrix).

23 Oct 2009 Conjugate Gradient Optimizer This routine lets you optimize large scale linear systems Author: Peter

Not sure what advantage of conjgrad over Matlab builtin function LSQR (where preconditioning is possible):

x = lsqr(@afun,b);
    
function y = afun(x,transp_flag)
        if strcmp(transp_flag,'transp')
            y = A'*x;
        else
            y = A*x;
        end
    end

10 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong

Thank you David for pointing out the bug. I better workaround IMO is change the line #257 to:
dS = realmin(class(S));
while the new version of ISMEMBERF is submitted.

28 Sep 2009 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong

Marcello,

Do you have MEX setup? If not, type he following in command line:
>> mex -setup

If it's already installed you have to locate mexopts.bat file somewhere under the directory $MATLABROOT (where the Matlab is installed), then modify OPTPATH variable in line #8 and line #12 of GETMEXOPTS.

then try installation again.

Bruno

Comments and Ratings on Bruno's Files View all
Updated File Comment by Comments Rating
13 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong Vargas Aguilera, Carlos Adrian

This is a nice function, thanks bruno for sharing it. You all may check out my NUMCMP function too.

http://www.mathworks.com/matlabcentral/fileexchange/21190-numcmp-m

Cheers, Carlos

13 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong Simon, Jan

Beside the fact, that this is of practical use and works as expected, it helps to answer dozens of questions in the newsgroup: why does ANY((0:0.1:1) == 0.3) reply FALSE???
The help is complete and descriptive, contains author and date, exact and really useful comments. The H1-line is not helpful.
Minor bug in line 125: if ndims(A) ~= 2 || ndims(A) ~= 2. A simple [tf, loc] output might be more efficient than the VARARGOUT/Cell/DEAL/MIN/MAX/NARGOUT constructions.

10 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong Luong, Bruno

Thank you David for pointing out the bug. I better workaround IMO is change the line #257 to:
dS = realmin(class(S));
while the new version of ISMEMBERF is submitted.

09 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong David

PROBLEM: ismemberf([0 1 2], 0) will return [0 0 0]. It seems this is because line 263 will auto-configure tol to zero which causes unexpected results in ihi (line 274) that causes tf to be set incorrectly in line 276.

WORK-AROUND: This behavior can be avoided if 'tol' is explicitly set when calling ismemberf().

03 Oct 2009 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong Á, Rencheng

Thanks! It is very useful!

Top Tags Applied by Bruno
array, eval, hist, histc, histogram
Files Tagged by Bruno View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Nov 2009 Screenshot Free-knots spline approximation Least squares approximation of 1D data using free-knots spline Author: Bruno Luong fitting, knot removal, least squares, data compression, free knots, bspline 74 0
19 Oct 2009 Pseudo-inverse Factorize a matrix for pseudo-inverse calculation purpose Author: Bruno Luong moorepenrose, pseudoinverse, qr, tikhonov, regularization, minimum norm 191 0
13 Oct 2009 ISMEMBERF Floating-point ISMEMBER (i.e., with round-off tolerance) Author: Bruno Luong round off, numerical errors, float, ismember 133 4
  • 5.0
5.0 | 1 rating
26 Sep 2009 Min/Max filter Multidimensional non-linear min/max filtering Author: Bruno Luong dilatation, running min, running max, erosion, pattern recognition, filtering 268 0
16 Sep 2009 FFT-based convolution Discrete convolution using FFT method Author: Bruno Luong conv2, gpu, fft, jacket, convn, conv 240 0
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com