Rank: 44 based on 961 downloads (last 30 days) and 41 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
18 Oct 2011 Screenshot Plot earth Plot earth in 3D Author: Bruno Luong cubedsphere, map, earth, texture, graphic, sphere 70 2
  • 4.75
4.8 | 4 ratings
27 Aug 2011 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong min, sorting, max, partial sort, quicksort, selection 52 23
  • 5.0
5.0 | 8 ratings
26 Aug 2011 Consecutive vector spliter Partition an input vector into smaller series of subvectors of consecutive elements Author: Bruno Luong split vectors, cell, array 51 4
  • 5.0
5.0 | 4 ratings
26 Aug 2011 N-dimensional histogram Compute n-dimensional histogram Author: Bruno Luong nd, histogram, histc, multi dimensional, hist, probability 104 14
  • 5.0
5.0 | 8 ratings
25 Aug 2011 BSXCAT Concatenate two arrays along a specific dimension with auto expansion of singleton enabled. Author: Bruno Luong concatenate, cat, bsxfun, array 4 0
Comments and Ratings by Bruno View all
Updated File Comments Rating
26 Jan 2012 Free-knot spline approximation Least squares approximation of 1D data using free-knots spline Author: Bruno Luong

Nima, it is not rotational invariant. Because the fit is carried out using the least-squares to the ordinate data (y) only.

26 Jan 2012 Truncated Gaussian Generate a pseudo-random vector X drawn from the truncated Gaussian distribution Author: Bruno Luong

Raymond, there exist no random variable in [2 500] with mean = 0. The mean must be in [2, 5000] regardless the distribution. Thus what you ask is mathematically impossible.

29 Dec 2011 Multiple-Colon multiple colon-intervals Author: Bruno Luong

Andrea, go to the folder where all the files reside before invoking the installation command.

05 Dec 2011 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong

@jianbo,

Try to change

memset((void*)(data+p0), 0, sizeof(double)*nz)

and

/* in case the positive set is unordered */

09 Nov 2011 Costantini phase unwrapping Implementation of Costantini's 2D unwrapping method based on network programming Author: Bruno Luong

Katherine, you need the optimization toolbox, especially linprog()

Comments and Ratings on Bruno's Files View all
Updated File Comment by Comments Rating
26 Jan 2012 Free-knot spline approximation Least squares approximation of 1D data using free-knots spline Author: Bruno Luong Luong, Bruno

Nima, it is not rotational invariant. Because the fit is carried out using the least-squares to the ordinate data (y) only.

26 Jan 2012 Truncated Gaussian Generate a pseudo-random vector X drawn from the truncated Gaussian distribution Author: Bruno Luong Luong, Bruno

Raymond, there exist no random variable in [2 500] with mean = 0. The mean must be in [2, 5000] regardless the distribution. Thus what you ask is mathematically impossible.

25 Jan 2012 Truncated Gaussian Generate a pseudo-random vector X drawn from the truncated Gaussian distribution Author: Bruno Luong Raymond

Dear Bruno,

How do a generate from the normal distribution with mean zero and standard deviation 1 a truncated normal on the range [2 500]? I calculate the this random variable has a standard deviation of 0.3381. When I try [X meaneff sigmaeff] = TruncatedGaussian(0.3381, [2 500], 1) I get an error message.

23 Jan 2012 Free-knot spline approximation Least squares approximation of 1D data using free-knots spline Author: Bruno Luong Zarif, Nima

Hey Bruno thanks for the awesome package, it works great!
I just have one problem, is this approximation rotation invariant? Since when I intentionally rotate my data points the knots are completely different with increased fit error compared to the baseline profile! please let me know if I am doing sth wrong

20 Jan 2012 N-dimensional histogram Compute n-dimensional histogram Author: Bruno Luong J

If I do the example usage but for 2-D data and do fewer random data points (say 200), then when I imagesc it and use plot() to plot the 2-D scatter, it seems like something is just a *little* but off. I'm guessing the code is working properly but that the usage example perhaps is plotting incorrectly to match up properly with a scatter plot? It's not a simple axis xy shift or flipup/fliplr on a single dimensions... the plots look similar but almost a reflection about the symmetry axis is required? Maybe I'm just missing something...

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
18 Oct 2011 Screenshot Plot earth Plot earth in 3D Author: Bruno Luong cubedsphere, map, earth, texture, graphic, sphere 70 2
  • 4.75
4.8 | 4 ratings
25 Sep 2011 Tip: calling subfunctions from outside m-file (Final) Calling/debugging subfunctions or writing large subfunctions is straight forward with this trick. Author: Sung Soo Kim call, eval, varargin, subfunction, varargout, function handle 8 5
  • 3.5
3.5 | 2 ratings
27 Aug 2011 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong min, sorting, max, partial sort, quicksort, selection 52 23
  • 5.0
5.0 | 8 ratings
26 Aug 2011 Consecutive vector spliter Partition an input vector into smaller series of subvectors of consecutive elements Author: Bruno Luong split vectors, cell, array 51 4
  • 5.0
5.0 | 4 ratings
26 Aug 2011 N-dimensional histogram Compute n-dimensional histogram Author: Bruno Luong nd, histogram, histc, multi dimensional, hist, probability 104 14
  • 5.0
5.0 | 8 ratings

Contact us at files@mathworks.com