Hey Guys, How would you write a geometric series that stores the first 10 terms and halves each time?
1 view (last 30 days)
Show older comments
It should print for example: {1/2,1/4,1/8,1/16...1/1024}
0 Comments
Answers (1)
Walter Roberson
on 11 Nov 2015
hint: the .^ operator can take a vector as the exponent
See Also
Categories
Find more on Get Started with MATLAB 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!