Avoid "depth limit" for nested parenthesis and brackets

6 ビュー (過去 30 日間)
Anthony Barone
Anthony Barone 2016 年 6 月 24 日
コメント済み: Tiasa Ghosh 2018 年 8 月 22 日
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 Center および File ExchangeMatrix Indexing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by