Summation series on matlab
1 view (last 30 days)
Show older comments
How would I implement this equation in function using matlab
2 Comments
James Tursa
on 22 May 2015
Edited: James Tursa
on 22 May 2015
Why is there a "matlab coder" tag on this post? Are you trying to do this for an embedded system for some reason?
If it is not a coder question, and you don't want to use the inbuild pi() function, then what specifically are you trying to do? Code up partial sums until some tolerance is reached? Or what? What have you done so far?
Walter Roberson
on 22 May 2015
You marked this with the tag "matlab coder". Is this something you need to be able to generate C code for? Or is this something you can use the symbolic toolkit for?
Answers (1)
ammar ansari
on 22 May 2015
3 Comments
Image Analyst
on 23 May 2015
I got rid of the useless matlab tag and added "infinite series" for you. By the way, you should just post this as an edit or comment to your original post rather than as an official "Answer" to your original post, which it's clearly not.
Also, is this homework? Looks like it. If it is, guidelines say that you mark it as homework otherwise someone may give you the complete answer and you run into ethical problems.
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!