Rank: 994 based on 109 downloads (last 30 days) and 3 files submitted
photo

Lucio Cetto

E-mail
Company/University
The MathWorks, Inc

Personal Profile:

Professional Interests:
Machine Learning, Computational Biology

 

Watch this Author's files

 

Files Posted by Lucio View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Apr 2005 SCF writer Writes SCF formatted files. Author: Lucio Cetto dna sequencing, dna, biotech, pharmaceutical, format, scf 25 0
02 Jun 2004 Screenshot Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto vetorize, fractals, vectorizing, mandelbrot, fractal 64 3
  • 4.33333
4.3 | 6 ratings
26 Jan 2002 Wild WHICH Same as 'which' but with the option of use wild cards. Faster than 'lookfor' Author: Lucio Cetto directories, which, lookfor, potw, path, utilities 20 1
  • 4.0
4.0 | 1 rating
Comments and Ratings on Lucio's Files View all
Updated File Comment by Comments Rating
19 Apr 2006 Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto sacrosancttayyar, sacrosancttayyar

i like this type of fractals..
with some changes of type it will be more great :)

14 Jan 2006 Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto Danielson, Sheldon

30 Nov 2005 Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto Ellis, Jas

I haven't tried the program, but I like the vectorisation! :) I added the code to my own a Mandelbrot program, in which I had previously (and, er, idiotically) used NaNs to mask out absolute values greater than 2 (32 seconds, approx). A loop took 24s. Using this linear indexing I got down to 17.5s and Logical indexing shaved another 2s! (Excerpt below).

h = logical(ones(size(X)));
for m=1:50
    X(h) = X(h).^2 + X0(h);
    h = (abs(X)<2);
    A(h) = A(h) + 1;
end;

15 Mar 2005 Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto jadhav, rash

02 Jun 2004 Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto Mearns, Brian

Good use of vectorization, but I'm not a big fan of the output when nargout == 0. But that's easily enough remidied on my end by assigning an output argumnent. I was also hoping to be able to specify different values for real and imaginary steps.
Also, as I informed the author in an email, in MATLAB R14, the code is slightly broken, but it's easily fixed. In R14, an identifier cannot be used as a function and a variable in the same code, which i is in this file, it's used as the sqrt(-1) (function) and as a counter in a loop (variable). But it's a minor detail and was perfectly legal in earlier versions.

Top Tags Applied by Lucio
utilities, biotech, directories, distributed processing, distributes
Files Tagged by Lucio View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Apr 2005 SCF writer Writes SCF formatted files. Author: Lucio Cetto dna sequencing, dna, biotech, pharmaceutical, format, scf 25 0
02 Jun 2004 Screenshot Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto vetorize, fractals, vectorizing, mandelbrot, fractal 64 3
  • 4.33333
4.3 | 6 ratings
26 Jan 2002 Wild WHICH Same as 'which' but with the option of use wild cards. Faster than 'lookfor' Author: Lucio Cetto directories, which, lookfor, potw, path, utilities 20 1
  • 4.0
4.0 | 1 rating
 

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