2
votes

I keep receiving an error while using the arctanh function on Matlab

Undefined function arctanh for input arguments of type 'double'.

I am doing this calculation

A = mu*arctanh(l2./(R2+R3))

Where l2 and R2 are vectors.

1

1 Answers

5
votes

arctanh is only in MuPAD Notebook Interface:

http://www.mathworks.com/help/symbolic/mupad_ref/arctanh.html

Normally within MATLAB you should use atanh:

http://www.mathworks.com/help/matlab/ref/atanh.html