Trying to write a series: 2n+1
Show older comments
I'm trying to write a 2n+1 series that starts at the number 2 and goes for 30 terms. How can I do this?
2 Comments
This sounds an awful lot like homework. What have you tried so far? Please read the Getting started part of the documentation.
How about a loop?
doc for;
Jan
on 18 Feb 2013
It would work without a FOR loop also, if it works at all. Usually "n" is a natural number in problems related to series. But there is no natural number n such that 2*n+1 equals 2.
Accepted Answer
More Answers (0)
Categories
Find more on Programming 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!