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 2.3: Jan 2012.
Author: Tom O'Haver
Hi Sadik, I am having some problems using filledCircle - the first time I use the function to draw a couple of circles, they are displayed at a certain size, but then the second time (e.g. second iteration of a for loop) they are displayed slightly bigger, even though the function was called with the same RADIUS parameter. Do you know why that might be? Thanks very much!
Hi Catalin,
You may want to check if you are playing with the axes, especially whether or not the code is making a zooming effect.
If you can't figure that out, using the clf command of matlab, or closing and reopening the figure window at each iteration should solve the problem.
Best.
Hi Sadik, I am having some problems using filledCircle - the first time I use the function to draw a couple of circles, they are displayed at a certain size, but then the second time (e.g. second iteration of a for loop) they are displayed slightly bigger, even though the function was called with the same RADIUS parameter. Do you know why that might be? Thanks very much!
Comment only