Avoid "depth limit" for nested parenthesis and brackets

4 次查看(过去 30 天)
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 个评论
Rik
Rik 2018-8-22
It sounds like you should be able to avoid this by simply storing intermediary results.
Tiasa Ghosh
Tiasa Ghosh 2018-8-22
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by