Rank: 35 based on 891 downloads (last 30 days) and 43 files submitted
photo

Bruno Luong

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Bruno View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Apr 2013 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong min, sorting, max, partial sort, quicksort, selection 91 32
  • 4.66667
4.7 | 12 ratings
23 Apr 2013 Interval merging Merging intervals in the bracket form Author: Bruno Luong interval, merging, timestamps, brackets 19 4
  • 4.0
4.0 | 1 rating
16 Apr 2013 Sparse matrix convolution Convolution of sparse matrices Author: Bruno Luong convolution, sparse 11 0
01 Apr 2013 Screenshot Voronoi Sphere Compute voronoi's diagram of points on the 2-sphere Author: Bruno Luong voronoi, delaunay, sphere 21 0
  • 5.0
5.0 | 1 rating
18 Jul 2012 InplaceArray: a semi-pointer package for Matlab Manipulate (multi-dimensional) arrays in the in-place form Author: Bruno Luong inplace, pointers, copyonwrite, data shared 8 9
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Bruno View all
Updated File Comments Rating
16 May 2013 FFT-based convolution Discrete convolution using FFT method Author: Bruno Luong

Petr, I just test with 2012a, the recommendation stands.

26 Apr 2013 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong

Rui,
The error is in line #544 (look at the error message). Try to replace the C++ comment style
// in case the positive set is unordered
by C comment style
/* in case the positive set is unordered */

23 Apr 2013 Range intersection Mathematical intersection of range composed of a union of intervals Author: Xavier Xavier

Good coding, fast

23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari

This submission shows that the author does not understand the potential of built-in inpolygon() function, that can accomplish the same thing with much shorter syntax and faster runtime.

17 Apr 2013 Performance in object-oriented matlab code A very simple example to demonstrate an observation of mine regarding the use of classes in matlab. Author: Dimitrios Korkinof

At last, someone clearly points out the performance issue of MATLAB OOP.

Comments and Ratings on Bruno's Files View all
Updated File Comment by Comments Rating
21 May 2013 FFT-based convolution Discrete convolution using FFT method Author: Bruno Luong Petr

Bruno, sorry, I forgot to mention that I used 2012b. Moreover, speed difference might depend on inputs and I'm lucky with the inputs I use?

16 May 2013 FFT-based convolution Discrete convolution using FFT method Author: Bruno Luong Luong, Bruno

Petr, I just test with 2012a, the recommendation stands.

15 May 2013 FFT-based convolution Discrete convolution using FFT method Author: Bruno Luong Petr

Hi Bruno, as for usage recommendations, are they updated for new MATLAB releases? In case of my application for 2D, both nA and nB are greater than 20 (about 200*300 each). However, MATLAB conv2 takes almost the same time as convnfft (even slightly faster).

27 Apr 2013 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong Rui

Bruno,

Sorry. I introduced a typo to your codes. When I replaced // by /*, I forgot to add */.

Now it is working!

27 Apr 2013 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong Rui

Bruno,

Thanks a lot! Now there's a new error on the last line...

At first I thought, maybe there's a missing brace, however the I found that was not the case. The new code was working with matlab 32 bit build-in compiler, but not the LCC on linux.

Rui
-----------------------

minkmex.c: In function ?MinMaxResult?:
minkmex.c:293: warning: incompatible implicit declaration of built-in function ?memset?
minkmex.c: In function ?LocResult?:
minkmex.c:322: warning: incompatible implicit declaration of built-in function ?memset?
minkmex.c: In function ?mexFunction?:
minkmex.c:580: error: expected declaration or statement at end of input

mex: compile of ' "minkmex.c"' failed.

??? Error using ==> mex at 208
Unable to complete successfully.

Error in ==> minmax_install at 46
mex(mexopts{:},'minkmex.c');

Top Tags Applied by Bruno
array, geometry, matrix, linear algebra, permutation
Files Tagged by Bruno View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Apr 2013 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong min, sorting, max, partial sort, quicksort, selection 91 32
  • 4.66667
4.7 | 12 ratings
23 Apr 2013 Interval merging Merging intervals in the bracket form Author: Bruno Luong interval, merging, timestamps, brackets 19 4
  • 4.0
4.0 | 1 rating
16 Apr 2013 Sparse matrix convolution Convolution of sparse matrices Author: Bruno Luong convolution, sparse 11 0
01 Apr 2013 Screenshot Voronoi Sphere Compute voronoi's diagram of points on the 2-sphere Author: Bruno Luong voronoi, delaunay, sphere 21 0
  • 5.0
5.0 | 1 rating
18 Jul 2012 InplaceArray: a semi-pointer package for Matlab Manipulate (multi-dimensional) arrays in the in-place form Author: Bruno Luong inplace, pointers, copyonwrite, data shared 8 9
  • 5.0
5.0 | 2 ratings

Contact us