Help with the erfc function

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

This is not a correct MATLAB syntax
erfc*(0.2/X3)
Function should be called like this
erfc(0.2/X3)

2 Comments

.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.
I think this must be some other issues in the code. erfc() should be working fine.

Sign in to comment.

More Answers (0)

Categories

Tags

Asked:

on 17 Jun 2020

Commented:

on 18 Jun 2020

Community Treasure Hunt

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

Start Hunting!