hi every one i need series for erfc(x) match with it in plot

조회 수: 1 (최근 30일)
sura
sura 2022년 9월 22일
댓글: Torsten 2022년 9월 22일
i need correct series for the equation of erfc(x) and maching with it in plot
  댓글 수: 3
sura
sura 2022년 9월 22일
there are series representation. taylor series is series expansion. in wolfarm website you can write series erfc(x). you will find three or more series representation.
i need one of these match with it with function by k not x

댓글을 달려면 로그인하십시오.

채택된 답변

Sam Chak
Sam Chak 2022년 9월 22일
Are you looking for something like this?
syms x
sympref('PolynomialDisplayStyle', 'ascend');
f = erfc(x); % function
T = taylor(f, 'Order', 8) % Taylor series
T = 
xd = -2:0.1:2;
yd = subs(f, x, xd);
fplot(T, [-2, 2])
hold on
plot(xd, yd, 'r-.'), grid on
title('Taylor approximation vs. actual function')
legend('Taylor','Function')
  댓글 수: 3
Torsten
Torsten 2022년 9월 22일
If you had studies Sam Chak's answer, you would have seen that your series expansion is just the one that he used for the plot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Error Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by