Rank: 237 based on 330 downloads (last 30 days) and 14 files submitted
photo

Ben Petschel

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Dec 2009 Published M-Files Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel fraction, rational, arithmetic 41 6
  • 5.0
5.0 | 5 ratings
10 Dec 2009 Compound Poisson simulation benchmarks several versions of code for generating Compound Poisson random variables Author: Ben Petschel compound poisson, efficiency, demo 47 0
24 Sep 2009 jointable Join pairs of tables using arbitrary keys Author: Ben Petschel join, jointable, sql 10 0
14 Sep 2009 multisetdiff like setdiff, but any repeated elements of A are removed only once for each time they occur in B Author: Ben Petschel setdiff, multiset, multisetdiff 9 2
14 Sep 2009 lexcmp Fast C-style array/string comparison (by lexical ordering) Author: Ben Petschel comparison, compare, lexical, string comparison, string 26 0
Comments and Ratings by Ben View all
Updated File Comments Rating
26 Nov 2009 StructDlg - Structure based GUI definition A structure based definition of an input GUI. Author: Alon Fishbach

Nice tool, though I encountered an obscure bug that froze matlab when I passed it a bad input, e.g. S.a={{true}};StructDlg(S)

To close it without killing matlab had to press Ctrl-C (to restore command-line access) then type closereq (because the usual CloseRequestFcn is overridden).

21 Sep 2009 All Permutations of integers with sum criteria All Pernutations of integers with sum criteria Author: Bruno Luong

Nice program. Users might also be interested in a looped solution using the function "nextwhile" in the NextVector toolbox <pre class="link">http://www.mathworks.com/matlabcentral/fileexchange/24757&lt;/pre&gt;. If the entire matrix of combinations is needed then Bruno's version is faster (because row concatenation is slow) otherwise the looped solution is faster.

16 Sep 2009 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron

Nice work

14 Sep 2009 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron

This is potentially a novel and useful algorithm but I couldn't get it to install because it seems to require a separate installation of FFTW C libraries, even though FFTW already comes with MATLAB and is used by the built-in version of FFT.

Also there is no mention of how the results compare in accuracy and speed against the built-in solves least-squares "\", so why go to the trouble of getting it to work?

11 Sep 2009 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron

Can you post the results of benchmarking against "\" please?

Comments and Ratings on Ben's Files View all
Updated File Comment by Comments Rating
10 Sep 2009 multisetdiff like setdiff, but any repeated elements of A are removed only once for each time they occur in B Author: Ben Petschel Jos (10584)

Please ignore my previous thought as it is incorrect !!

10 Sep 2009 multisetdiff like setdiff, but any repeated elements of A are removed only once for each time they occur in B Author: Ben Petschel Jos (10584)

Nice utility! Just a thought, for numerical vectors, this might be more convenient:

C = union(A,B) ;
res = C(histc(A,C) > histc(B,C))

To deal with rows of matrices or cell array strings, one could convert A and B into indices using, e.g., the third output of unique.

01 Sep 2009 Pointers Toolbox basic functions to work with pointer variables and dynamic data types Author: Ben Petschel Philip

18 Aug 2009 Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel Bizkevelci, Erdal

01 Aug 2009 Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel Fig, Matt

Great work!

Top Tags Applied by Ben
sql, arithmetic, chebyshevmarkovstieltjes, combination, combinations
Files Tagged by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Dec 2009 Published M-Files Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel fraction, rational, arithmetic 41 6
  • 5.0
5.0 | 5 ratings
10 Dec 2009 Compound Poisson simulation benchmarks several versions of code for generating Compound Poisson random variables Author: Ben Petschel compound poisson, efficiency, demo 47 0
24 Sep 2009 jointable Join pairs of tables using arbitrary keys Author: Ben Petschel join, jointable, sql 10 0
14 Sep 2009 multisetdiff like setdiff, but any repeated elements of A are removed only once for each time they occur in B Author: Ben Petschel setdiff, multiset, multisetdiff 9 2
14 Sep 2009 lexcmp Fast C-style array/string comparison (by lexical ordering) Author: Ben Petschel comparison, compare, lexical, string comparison, string 26 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