What have you tried so far?
infinite series in mat lab
3 次查看(过去 30 天)
显示 更早的评论
ME 2016 – Computing Techniques Computing Project : Sine – The Infinite Series Problem Statement The sine function can be written in terms of the following infinite series 21 0 sin( ) ( 1) (2 1)! m m m x x m . In this project, you wil l compare your calculation of s in ( x ) based on this series to the built - in Matlab function sin . Task List: S ine – The Infinite Series 1. Write a Matlab function called mysin 1 that sums the series for the sine function using a given number of terms in the series. The function should have the form y = mysin 1 (x, n) . I nput argument s : x , a vector of input values, and n , the number of terms to use in the series. The output argument y contains the values of your sum for sin ( x ). Make sure your function can handle a vector input x and return the proper values of the sum s in y .
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time Series 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!