| Date | File | Comment by | Comment | Rating |
|---|---|---|---|---|
| 10 Sep 2009 | multisetdiff like setdiff, but any repeated elements of A are removed only once for each time they occur in B | Jos | 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 | Jos | Nice utility! Just a thought, for numerical vectors, this might be more convenient: C = union(A,B) ;
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 | Philip | ||
| 18 Aug 2009 | Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic | Bizkevelci, Erdal | ||
| 01 Aug 2009 | Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic | Fig, Matt | Great work! |
|
| 01 Aug 2009 | Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic | O'Connor, Derek | This is a very useful toolbox, especially when used with
Here are two tests I ran : function z = RumpFrac(x,y) % Testing John D'Errico's Variable Precision Integer Toolbox
x = fr(vpi(x));
R1 = (33375/100)*y^6+ x^2*(11*x^2*y^2-y^6- 121*y^4- 2)
%
% z = -1.180591620717411e+021 without first two statements and function z = JuddFrac(x,y)
x = fr(vpi(x));
J1 = 1682*x*y^4
% z = JuddFrac(192119201,35675640);
% z = 7.721506064908910e-003 without first two statements |
|
| 31 Jul 2009 | Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic | Hamed, Khaled | Very useful toolbox, especially with the added precision of the vpi toolbox. I think the demo_fr.m file needs an "echo on" at the beginning to see the header of each of the demo problems, rather than answers only (followed by echo off at the end). |
|
| 31 Jul 2009 | Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic | Petschel, Ben | Hi Khaled, thanks for pointing that out (I forgot to run "rehash path" when testing without the vpi toolbox). I've submitted an update which should become available soon. Let me know if you have any further problems. |
|
| 31 Jul 2009 | Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic | Hamed, Khaled | It seems to require vpi to be in the Matlab path, or a previous instance of a vpi. >> fr(1,7)
Error in ==> fr.fr at 201
|
|
| 30 Jul 2009 | Fractions Toolbox create and manipulate fractions (K+N/D) using exact arithmetic | D'Errico, John | Nifty |
|
| 22 Jul 2009 | sumsqint Finds all distinct ways of writing a number as the sum of squares, i.e. solve x^2+y^2=n for 0<=x<=y. | D'Errico, John | A nifty piece of code. Well written. Good help. Fast - even on my old cpu. tic,xy = sumsqint(vpi(51)^32);toc
xy
|
|
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