Creating a Vector with 5 elements in a specific way

2 ビュー (過去 30 日間)
Yuval Cohen
Yuval Cohen 2020 年 7 月 30 日
回答済み: Sriram Tadavarty 2020 年 7 月 30 日
Hello dear friends!
Could you help me with this w Q?
Thanks!!!

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by