Rank: 431 based on 209 downloads (last 30 days) and 19 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
29 Oct 2013 PEEK a simple evaluation monitor utility Author: Ben Petschel peek, evaluation monitor 10 0
08 Oct 2012 Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel fraction, rational, arithmetic, toolbox 19 16
  • 5.0
5.0 | 8 ratings
22 Jul 2011 wordhit determines probabilities and expected times to produce words in a random character stream Author: Ben Petschel probability, coin toss, random string, markov chain, transition matrix 8 0
16 Jun 2011 quantilese determines quantiles of data and their standard errors or confidence intervals Author: Ben Petschel quantile, standard error, confidence interval, percentile 13 0
  • 5.0
5.0 | 1 rating
15 Jun 2011 scatterquad2 calculates the volume under a surface defined by scattered points Author: Ben Petschel quad2, dblquad, delaunay 7 1
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Ben View all
Updated File Comments Rating
15 Nov 2013 Resistor Maker in MATLAB A program that shows you how to arrange given resistors for a desired value! Author: Josip

Very interesting problem but I get an error:

Undefined function 'combnk' for input arguments of type 'double'.

It would be interesting to work out what is the total number of unique arrangements for n non-identical resistors - perhaps you could show this in a waitbar if it takes a long time to test all combinations. Also I wonder if methods such as genetic algorithms could be used when the number of combinations is too large.

15 Nov 2013 Random sample without replacement Random sample with weight and without replacement Author: Kaushik Bhattacharjee

Does this function have any advantages over the similar function randsample in the stats toolbox?

06 Oct 2012 Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel

Richard/Nathan, thanks for the suggestions - I've submitted a new update for fr.m and freduce.m. I got around the performance issue in fr.m by using a persistent variable to ensure that the calls to superiorto are done only once.

18 Aug 2011 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us

Excellent tool, much faster and more informative than DEPFUN.

An especially useful feature is detection of unresolved function calls, which DEPFUN doesn't seem to do. The synopses of each module have a list of unresolved names, though I couldn't see a way to get a single list of all unresolved names except by browsing.

Also you might want to switch off latex interpretation in the point labels in the dependency matrix (line 1921, I think).

Good work!

14 Aug 2011 Special Functions math library Collection of Special Functions programs. Author: Paul Godfrey

Nice work, these should be included in the core MATLAB.

Since erf rapidly goes to infinity along the i axis (e.g. erfz(1i*30) = 1i*Inf in floating point), it would be useful to have a function that calculates exp(z^2)*erf(z) or z*exp(z^2)*erfc(z).

Comments and Ratings on Ben's Files View all
Updated File Comment by Comments Rating
22 Jul 2014 quantilese determines quantiles of data and their standard errors or confidence intervals Author: Ben Petschel Philippe

03 Jun 2014 scatterquad2 calculates the volume under a surface defined by scattered points Author: Ben Petschel Korsawe, Johannes

Works as addressed. Very nice!

05 Mar 2014 groebner manipulate and solve systems of multivariate polynomial equations by computing the groebner basis Author: Ben Petschel QuanShan

excellent work! thanks.I've found this kind of thing for a longtime.wish I can understand it.

19 Jul 2013 Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel Jared

Ben, very useful tool. I wanted to alert you to what looks to be a small bug:

In @fr/rat, I think line 54 should read:

varargout{1}=N+K.*D;

rather than

varargout{1}=N+K*D;

I am happy so far and will provide more feedback one I have more time to play with it.

06 Oct 2012 Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic Author: Ben Petschel Petschel, Ben

Richard/Nathan, thanks for the suggestions - I've submitted a new update for fr.m and freduce.m. I got around the performance issue in fr.m by using a persistent variable to ensure that the calls to superiorto are done only once.

Contact us