Creating a Vector with 5 elements in a specific way
1 view (last 30 days)
Show older comments
Hello dear friends!
Could you help me with this w Q?
Thanks!!!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339172/image.png)
0 Comments
Answers (1)
Sriram Tadavarty
on 30 Jul 2020
Hi Yuval,
n = 5;
u = 2.^(0:n-1);
Hope this helps.
Regards,
Sriram
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!