How to solve the following issue

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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 15 de En. de 2018

0 votos

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

3 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by