Creating a Vector with 5 elements in a specific way

답변 (1개)

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

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

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