Rank: 275 based on 436 downloads (last 30 days) and 4 files submitted
photo

Yohanan Sivan

E-mail
Company/University
none

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Yohanan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Sep 2009 Screenshot Gui Example - Stop Start Loop & Icon Change & Build Exe Example of 3 things: 1. Stop and start a loop 2. Change Gui icon 3. Build EXE Author: Yohanan Sivan gui stop start icon e... 128 1
  • 5.0
5.0 | 1 rating
17 Sep 2009 Fit Multi Dimensional Polynomial The example fits between CMYK to LAB. It assume that LAB is a polynomial function of CMYK. Author: Yohanan Sivan fit multi dimensional... 21 0
15 Jan 2007 Screenshot lorentzian fit In the attached file example i use "nlinfit", which can fit any kind of function that you want. the Author: Yohanan Sivan statistics, probability, lorentzian fit nlinfi... 58 6
  • 4.66667
4.7 | 6 ratings
19 Jul 2006 gaussian curve fit gaussian curve fit Author: Yohanan Sivan statistics, probability, gaussian curve fit 229 13
  • 4.45455
4.5 | 12 ratings
Comments and Ratings on Yohanan's Files View all
Updated File Comment by Comments Rating
30 Sep 2009 gaussian curve fit gaussian curve fit Author: Yohanan Sivan Ryan

I disagree with Matheca. The function is intended to fit a general gaussian, not necessarily a probability distribution function. The equation is correct.

However, the user should be aware that removing data points in a deterministic manner (i.e. by thresholding) definitely skews the resulting fit.

Rather than fitting to the whole series with negatives removed, try finding the largest contiguous positive subset of the original data series and fitting to that. This method won't work when the noise amplitude is greater than the distribution amplitude, but in most cases it will give you a better fit.

Even better yet: if accuracy is more important than computation speed, use fmincon with a least-squares difference cost function:

p = fmincon(@(p) sum((y-(p(1)*exp(-(x-p(2)).^2/2/p(3)^2))).^2),...
[max(y) mean(x) 1],[],[],[],[],[0 -inf 0],[2*max(y) inf inf])
A=p(1);
mu=p(2);
sigma=p(3);

30 Sep 2009 gaussian curve fit gaussian curve fit Author: Yohanan Sivan Ryan

23 Sep 2009 Gui Example - Stop Start Loop & Icon Change & Build Exe Example of 3 things: 1. Stop and start a loop 2. Change Gui icon 3. Build EXE Author: Yohanan Sivan Briot, Jerome

"modifying the title bar icon constitutes a breach of the license agreement"

=> http://www.mathworks.com/support/solutions/en/data/1-16N4J/?solution=1-16N4J

17 Sep 2009 Gui Example - Stop Start Loop & Icon Change & Build Exe Example of 3 things: 1. Stop and start a loop 2. Change Gui icon 3. Build EXE Author: Yohanan Sivan Barragan Guerrero, Diego Orlando

19 May 2009 lorentzian fit In the attached file example i use "nlinfit", which can fit any kind of function that you want. the Author: Yohanan Sivan Zilli, Eric

Not terribly useful. This is an example, not a fitting function and it is not very well written. It is, however, slightly more useful than the poor documentation on the function nlinfit.

The code does not seem to be performing a fit to a Lorentzian, though, as the function fun.m (why not give it a more useful name?) is multiplied by 2 for some reason and the (x-x_0) term in the denominator is multiplied by 4 for some reason. Possibly this is a standard form in some field I have never come across, but this is certainly not the Lorentzian function I am interested in fitting. It is easy enough to fix, but worth pointing out to others who might use this.

Top Tags Applied by Yohanan
probability, statistics, fit multi dimensional polynomial, gaussian curve fit, gui stop start icon exe program
Files Tagged by Yohanan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Sep 2009 Screenshot Gui Example - Stop Start Loop & Icon Change & Build Exe Example of 3 things: 1. Stop and start a loop 2. Change Gui icon 3. Build EXE Author: Yohanan Sivan gui stop start icon e... 128 1
  • 5.0
5.0 | 1 rating
17 Sep 2009 Fit Multi Dimensional Polynomial The example fits between CMYK to LAB. It assume that LAB is a polynomial function of CMYK. Author: Yohanan Sivan fit multi dimensional... 21 0
15 Jan 2007 Screenshot lorentzian fit In the attached file example i use "nlinfit", which can fit any kind of function that you want. the Author: Yohanan Sivan statistics, probability, lorentzian fit nlinfi... 58 6
  • 4.66667
4.7 | 6 ratings
19 Jul 2006 gaussian curve fit gaussian curve fit Author: Yohanan Sivan statistics, probability, gaussian curve fit 229 13
  • 4.45455
4.5 | 12 ratings
 

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