Creating a Vector with 5 elements in a specific way

回答 (1 件)

Sriram Tadavarty
Sriram Tadavarty 2020 年 7 月 30 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2020 年 7 月 30 日

回答済み:

2020 年 7 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by