Help in numerical exercise
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 2 de Mayo de 2014
Editada: Image Analyst
el 2 de Mayo de 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!
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!