How to do sequences and sums in matlab
Mostrar comentarios más antiguos
Hello,
I'm new to MATLAB and this may be a basic question but I'm very stuck.
The question on my University handout is:
'Use the power operator .^ in MATLAB to create the following sequences:
1. (1 4 9 16 25 36 49 64 81 100) 2. (1 i -1 -i) 3 (1 1/2 1/4 1/8 1/16) 4. In exercist 3, what will be the sum if the sequence is infinitely long?'
Could someone please help me in how to write the expression for any of these, I've been stuck for hours.
Thanks!
Respuesta aceptada
Más respuestas (0)
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!