Avoid "depth limit" for nested parenthesis and brackets

7 visualizaciones (últimos 30 días)
Anthony Barone
Anthony Barone el 24 de Jun. de 2016
Comentada: Tiasa Ghosh el 22 de Ag. de 2018
MATLAB has a limit of 32 nested parenthesis / brackets, and I have a function that requires more than this. Can this limit be avoided?
  3 comentarios
Rik
Rik el 22 de Ag. de 2018
It sounds like you should be able to avoid this by simply storing intermediary results.
Tiasa Ghosh
Tiasa Ghosh el 22 de Ag. de 2018
For my case, the equations contain variables from matrix multiplication and it is unavoidable to have deep parentheses. So if anybody could tell how deep nesting MATLAB allows, I would adjust my matrix dimensions accordingly.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by