Gistlib Logo

gistlib

sine taylors series in matlab

main.m
syms x n;
f = x;
for i = 1:10
    f = f + (-1)^(i)*x^(2*i+1)/factorial(2*i+1); % Taylor series for sine function
end
117 chars
6 lines

similar matlab code snippets

cos taylor series in matlab
how to calculate the arccotangent of an angle in matlab
how to calculate the arcsine of an angle in matlab
how to calculate the cosecant of an angle in matlab
how to calculate the arccosine of an angle in matlab
how to calculate the arctangent of an angle in matlab
how to calculate the cotangent of an angle in matlab
how to calculate the arccosecant of an angle in matlab
how to calculate the arcsecant of an angle in matlab
how to calculate the secant of an angle in matlab

related categories

matlab
trigonometry
taylor-series

gistlibby LogSnag