MATLAB: Expanding a function in power series

expansionfunctionpowerseries

Hi, I would like to expand an exponential function in terms of a power series. How can this be done in MATLAB, where one gets an output with say, the first 20 terms of the series?
Thanks!

Best Answer

help taylor
Best wishes
Torsten.