Help in numerical exercise
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 2 Mai 2014
Modifié(e) : Image Analyst
le 2 Mai 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!
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!