Creating a Vector with 5 elements in a specific way

1 visualizzazione (ultimi 30 giorni)
Hello dear friends!
Could you help me with this w Q?
Thanks!!!

Risposte (1)

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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by