Creating a Vector with 5 elements in a specific way

2 次查看(过去 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 CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by