Creating a Vector with 5 elements in a specific way

1 visualización (últimos 30 días)
Yuval Cohen
Yuval Cohen el 30 de Jul. de 2020
Respondida: Sriram Tadavarty el 30 de Jul. de 2020
Hello dear friends!
Could you help me with this w Q?
Thanks!!!

Respuestas (1)

Sriram Tadavarty
Sriram Tadavarty el 30 de Jul. de 2020
Hi Yuval,
n = 5;
u = 2.^(0:n-1);
Hope this helps.
Regards,
Sriram

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by