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

Sean de Wolski
Sean de Wolski el 3 de Nov. de 2014
Here's the first one:
(1:10).^2
Now you do the second one!

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Nov. de 2014

Comentada:

el 3 de Nov. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by