Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fitting function to Calibrate end of Tube #6012

Closed
KarlPalmen opened this issue Apr 27, 2012 · 1 comment
Closed

Add Fitting function to Calibrate end of Tube #6012

KarlPalmen opened this issue Apr 27, 2012 · 1 comment
Assignees
Milestone

Comments

@KarlPalmen
Copy link
Contributor

Implement MATLAB code

 x=0:0.01:1;
p = [1 1 1 1];
if (p(4) <0)
    p(4)=0;  %this variable cannot go below zero
end

 if (p(1) > 0)
   yth=(p(1)*erfc((p(2)-x)/p(3)))+p(4);
 end
 if (p(1) < 0)
     yth=((-2*p(1))+(p(1)*erfc((p(2)-x)/p(3))))+p(4);
 end    

plot(x,yth)
@KarlPalmen
Copy link
Contributor Author

This issue was originally trac ticket 5166

@KarlPalmen KarlPalmen self-assigned this Jun 3, 2015
@KarlPalmen KarlPalmen added this to the Release 2.2 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant