Help in numerical exercise
Show older comments
Hi everyone,
I have a vector y2 starting from 1 to 100 with properties of y2(1)=1 and y2(i+1)-y2(i)=i+1
Knowing that i=1,…,99 what it will be y2(100)?
Thank you very much!!!
Best Regards.
Accepted Answer
More Answers (1)
Image Analyst
on 2 May 2014
Edited: Image Analyst
on 2 May 2014
Why not make a simple for loop and find out?
y2(1)=1;
for i = 1 : 99
y2(i+1) =
and so on.... It's the best way to learn!
Categories
Find more on Startup and Shutdown 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!