How to do a taylor series in matlab with e?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
if the equation was g(x)=e^x/(cos(x)+tan3(x)) for x=2 I tried >> x=2;taylor(exp(e^x/(cos(x)+tan3(x)))) but an error comes up with undefined function or variable 'e'
0 Kommentare
Antworten (1)
Todd Leonhardt
am 25 Mai 2016
Bearbeitet: Todd Leonhardt
am 25 Mai 2016
Check out this example of how to compute Taylor series in Matlab:
Make sure you define x as a symbolic variable first.
2 Kommentare
Todd Leonhardt
am 25 Mai 2016
taylor operates symbolically
You need to give it the variable.
Do you have the symbolic math toolbox?
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!