Help with the erfc function

1 view (last 30 days)
DEWDROP
DEWDROP on 17 Jun 2020
Commented: Ameer Hamza on 18 Jun 2020
i am trying to use the ficks law which has erfc fuction and i am having trouble in defining the function.ERROR WHILE RUNNING THE ATTACHED CODE.THANK YOU IN ADVANCE!!!

Accepted Answer

Ameer Hamza
Ameer Hamza on 17 Jun 2020
This is not a correct MATLAB syntax
erfc*(0.2/X3)
Function should be called like this
erfc(0.2/X3)
  2 Comments
DEWDROP
DEWDROP on 18 Jun 2020
.thanks.....it works but it gives answer which is out of range .so the prooblem is with the error function or what ?i am confused.
Ameer Hamza
Ameer Hamza on 18 Jun 2020
I think this must be some other issues in the code. erfc() should be working fine.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!