Creating a Vector with 5 elements in a specific way
显示 更早的评论
Hello dear friends!
Could you help me with this w Q?
Thanks!!!

回答(1 个)
Sriram Tadavarty
2020-7-30
Hi Yuval,
n = 5;
u = 2.^(0:n-1);
Hope this helps.
Regards,
Sriram
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!