Borrar filtros
Borrar filtros

Problem with multiplication n*(n+1)

1 visualización (últimos 30 días)
Laura Passalacqua
Laura Passalacqua el 31 de Mayo de 2020
Comentada: Steven Lord el 31 de Mayo de 2020
I want to change the index of this 3 summations using only one index, so I need to calculate j = 2*(n*(n+1)+m-1)+s for using the new index j.
Why does n*(n+1) generate an error?
  5 comentarios
Image Analyst
Image Analyst el 31 de Mayo de 2020
You're not making it easy for us to help you, are you? Do you maybe have a picture of the formula with three sums that you can post (but only after reading this link)?
Steven Lord
Steven Lord el 31 de Mayo de 2020
What is the full and exact text of the error message you received? Show all the text displayed in red (and/or orange, if you also received warnings) in the Command Window when you run the code that performs the multiplication that throws the error.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by