Rank: 1777 based on 71 downloads (last 30 days) and 1 file submitted
photo

Sadik

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Sadik
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 May 2010 Screenshot Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik filled circle, fill, color fill, patch 71 9
  • 4.5
4.5 | 6 ratings
Comments and Ratings by Sadik View all
Updated File Comments Rating
25 May 2013 Make FSL-compatible Transformation Matrix Prepares .mat files to be used with FSL's registration-related functions. Author: Cihat Eldeniz

Hello Michel,

The spokesman of FLIRT is avscale.

So, if the avscale output confirms makeFslXfmMatrix, then it means it is working correctly. If for a particular case it does not, please write it here so that we can take a look.

Best.

06 Dec 2012 Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik

Hi Irvin,

I am not sure I understand your question thoroughly but here is what you can do for transparency:

% Filled object becomes more and more transparent as the following variable [transp] goes to zero. [Max value is 1]
transp = 0.5;
set(h,'FaceAlpha',transp);

Best.

02 Jan 2012 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda

I thank you so much for providing this code. Implementation has its own challenges but your code worked like a charm to show how beautifully theory and practice meet. With good initial estimates, the algorithm converged in only a few iterations.

FYI: I used it for T1 estimation in MR where the equations in our case were much more complicated than single exponential recovery equations.

Thanks.

12 Sep 2011 Peak Fitter Command-line peak fitter for time-series signals. Version 5.7, September, 2014 Author: Tom O'Haver

Good job!

24 Aug 2011 imtranslate Affine translates a 2D image or 3D volume. Author: Sean de

Thank you very much.

The current usage of imtransform with xdata ydata is not straight-forward at all. I think matlab really needs to have this in its library!

Comments and Ratings on Sadik 's Files View all
Updated File Comment by Comments Rating
06 Dec 2013 Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik Mohammad

Thanks a lot for sharing your cleverness ...

14 Nov 2013 Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik Alex R.

I know this is old but I wanted to note that it can be done easier and faster as follows:

t = 2*pi/N*(1:N);
fill(c(1)+r*cos(t), c(2)+r*sin(t), color);

Also note that you don't need both 0 and 2pi (they are the same polar point). Your code actually generates N+1 points.

[ depending on N, the above can be substantially faster than using linspace() + ones() + pol2cart() ]

Alex.

03 Apr 2013 Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik David-Leon

This addon has a bug (I guess). It changes the aspect ratio of my plot.

06 Dec 2012 Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik Sadik

Hi Irvin,

I am not sure I understand your question thoroughly but here is what you can do for transparency:

% Filled object becomes more and more transparent as the following variable [transp] goes to zero. [Max value is 1]
transp = 0.5;
set(h,'FaceAlpha',transp);

Best.

05 Dec 2012 Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik irvin rynning

In the code using a white fill
h=fill(X,Y,'w');
results in the same circle with white center.
how to make it transparent ?

Contact us