Creating a Vector with 5 elements in a specific way

2 Ansichten (letzte 30 Tage)
Yuval Cohen
Yuval Cohen am 30 Jul. 2020
Beantwortet: Sriram Tadavarty am 30 Jul. 2020
Hello dear friends!
Could you help me with this w Q?
Thanks!!!

Antworten (1)

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

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by