Error with array indices

4 visualizaciones (últimos 30 días)
Charles LaMotte
Charles LaMotte el 8 de Sept. de 2020
Comentada: Walter Roberson el 8 de Sept. de 2020
This error keeps coming up. Any thoughts?
Array indices must be positive integers or logical values.
Error in Prob3_4_2 (line 17)
T(loop)= Tmean + (Tpeak - Tmean)*cos(w((D(loop))-205));

Respuesta aceptada

madhan ravi
madhan ravi el 8 de Sept. de 2020
w*
  4 comentarios
madhan ravi
madhan ravi el 8 de Sept. de 2020
That is the reason of this community’s existence ;)
Walter Roberson
Walter Roberson el 8 de Sept. de 2020
By the way, MATLAB has absolutely no implied multiplication, anywhere that I have been able to find. Not even in the internal language used by the Symbolic Toolbox.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by