Question: Write a Matlab function myAtanh that takes as input x and the number N to estimate y artanh(x) using N y = x2n-1 2n 1

Write a Matlab function myAtanh that takes as input x and the number N to estimate y artanh(x) using N y = x2n-1 2n 1 n=1 and returns as output y and the corresponding true relative error tre. For the true value of artanh(x) use Matlab's build-in function atanh(x). Code the function such that it can handle both scalar and column vector inputs for x. Do not print any results to screen or do any plotting within the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
