Rank: 2347 based on 49 downloads (last 30 days) and 4 files submitted
photo

Alessandro Masullo

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Alessandro Masullo View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Oct 2014 Screenshot Align equal sign Automatically align equal sign in variables assignment Author: Alessandro Masullo editor, alignment, align, equal sign, equal, automatic 8 2
  • 3.0
3.0 | 1 rating
26 Jun 2013 Screenshot Flood Game Simple flood Game. Try to flood the matrix with the same symbol. Author: Alessandro Masullo game, flood, simple, symbol, neighboor 3 0
19 Jun 2013 Screenshot Biot-Savart direct integration on a generic curve Biot-Savart integration on a generic curve, by numerical integration. Author: Alessandro Masullo biotsavart, biot, savart, numerical integration, direct integration, integration 21 1
  • 5.0
5.0 | 1 rating
03 Jun 2013 Screenshot MATLAB Time-Lapse Creator Create time-lapse video from your images Author: Alessandro Masullo timelapse, time, lapse, video, avi, jpeg 17 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Alessandro Masullo View all
Updated File Comments Rating
11 Nov 2014 Linearly spaced multidimensional matrix without loop Generates a N-dimensional matrix of linearly equally spaced points between the matrices d1 and d2. Author: Steeve AMBROISE

In 2D you can use these simple commands, that are much faster:

A = randi(10,1000,1);
B = randi(10,1000,1)+20;
N = 1500;

dx = (B-A)/(N-1);
AB = repmat(dx,1,N);
AB(:,1) = A;
AB = cumsum(AB,2);

02 Oct 2014 Align equal sign Automatically align equal sign in variables assignment Author: Alessandro Masullo

@Matthew
You're right, I forgot to mention that the code is made to work with small snippets of code!
You shall select only the group of variables you want to align and then run the function.
It won't work if you select your entire script.

02 Oct 2014 SCATTERBAR3 Creates a 3-D bar chart where bars are placed in user specified X-Y locations. Author: Manu Raghavan

27 May 2014 Scalable Vector Graphics (SVG) Export of Figures Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). Author: Juerg Schwizer

I really love this script but I have to report a bug dealing with squared scatter plot.

It can be easly reproduced by:

scatter(rand(1,10),rand(1,10),30,rand(1,10),'s','filled')
plot2svg('test.svg')

it yields this error:

Undefined function or variable "linex".

Error in plot2svg>axchild2svg (line 1630)
case {'square', 's'},group=group+1;patch2svg(fid,group,axpos,xmarker'*ones(1,5)+ones(length(linex),1)*[-1 -1 1 1
-1]*markersize,ymarker'*ones(1,5)+ones(length(liney),1)*[-1 1

20 Feb 2014 Find and replace in selection Find and replace in currently selected editor text. Author: Sam Johnson

I love you!

Comments and Ratings on Alessandro Masullo's Files View all
Updated File Comment by Comments Rating
02 Oct 2014 Align equal sign Automatically align equal sign in variables assignment Author: Alessandro Masullo Alessandro Masullo

@Matthew
You're right, I forgot to mention that the code is made to work with small snippets of code!
You shall select only the group of variables you want to align and then run the function.
It won't work if you select your entire script.

25 Sep 2014 Align equal sign Automatically align equal sign in variables assignment Author: Alessandro Masullo Matthew

Good first effort. However, I wanted this function to be great and couldn't recommend it to other users right now.

Some thoughts:
1. Where is the test script?
2. Did you run the function on the source itself?
3. The approach does not separate assignment (lhs = rhs) from equalityTest (==) or strings ('=').
4. Are the options comparable to known non-MATLAB tools (e.g., Uncrustify)?

07 Nov 2013 Biot-Savart direct integration on a generic curve Biot-Savart integration on a generic curve, by numerical integration. Author: Alessandro Masullo David

02 Oct 2013 MATLAB Time-Lapse Creator Create time-lapse video from your images Author: Alessandro Masullo Brian Bagenstose

20 Aug 2013 MATLAB Time-Lapse Creator Create time-lapse video from your images Author: Alessandro Masullo William Martin

Greetings,

Quick FYI, I started using your script and couldn't figure out why it wasn't working. Turns out, many autosaved image files have the extension in CAPS (i.e. example.JPG). I fixed it in my copy, but may want to fix it in the master as well.

Will

Contact us