throughput =((Bmax.*log(2)(1+((p_fix).*E_part))./ noise+((p_fix).*E_part)))
File: Column: 21
()-indexing must appear last
in an index expression.

 채택된 답변

Walter Roberson
Walter Roberson 2018년 1월 15일

0 개 추천

You have log(2)(1+etc) without any operation between the two. Perhaps you wanted log(2)*(1+etc)

댓글 수: 3

Prabha Kumaresan
Prabha Kumaresan 2018년 1월 15일
i would like to check whether logbase2 can be written in log(2).
Walter Roberson
Walter Roberson 2018년 1월 15일
No, it cannot. For log base 2, use log2()
Prabha Kumaresan
Prabha Kumaresan 2018년 1월 15일
thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by