Hi,
Refer to this similar question https://www.mathworks.com/matlabcentral/answers/647608-how-i-do-taylor-series-summation-method?s_tid=answers_rc1-2_p2_MLT
This might help you.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!