Reduce nesting in expression
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
I have a large (~2800 characters) function (mathematical function in text format, not code) with a high degree of nesting with parenthesis (more than 32 levels). I need to get it into a more simple form so it's parseable by Matlab (where the upper limit is 32 levels). I know that there are repeating subexpressions within the function that if eliminated (or "simplified" in some way, i.e. identifying and replacing them with a variable such that the subexpression could be evaluated prior to the evaluation of the large function) could allow the nesting level to drop low enough - but I don't know what the subexpression are, only that they exist.
Can anybody suggest a potential solution or Matlab functionality that could potentially lead to a solution?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 String Parsing에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!