Rank: 1940 based on 28 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 biotech, pharmaceutical, scf, dna, format, dna sequencing 2 0
02 Jun 2004 Screenshot Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto fractals, mandelbrot, fractal, vetorize, vectorizing 25 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 path, directories, files, which, wild, lookfor 1 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, contest, directories, distributed processing
Files Tagged by Lucio View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Nov 2011 MATLAB Contest - Vines All the files needed to develop and score an entry for the MATLABĀ® Programming Contest. Author: The MATLAB Contest Team contest 5 0
  • 5.0
5.0 | 1 rating
11 Apr 2005 SCF writer Writes SCF formatted files. Author: Lucio Cetto biotech, pharmaceutical, scf, dna, format, dna sequencing 2 0
02 Jun 2004 Screenshot Mandelbrot set vectorized Produces the Mandelbrot set using vectorized code. Author: Lucio Cetto fractals, mandelbrot, fractal, vetorize, vectorizing 25 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 path, directories, files, which, wild, lookfor 1 1
  • 4.0
4.0 | 1 rating

Contact us at files@mathworks.com