How can I form a vector operating with another?

I'm trying to do the operaton (2^n)/2n with n=(0:100)
how can I form a vector of the same size using the results?

 채택된 답변

Ameer Hamza
Ameer Hamza 2020년 10월 4일
편집: Ameer Hamza 2020년 10월 4일

0 개 추천

n = 0:100;
y = (2.^n)./(2*n);

추가 답변 (0개)

카테고리

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

태그

질문:

2020년 10월 4일

댓글:

2020년 10월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by