Simplify throws an error message and I don't understand why
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I get the following error message when i am playing around with the Simplify function and I was wondering why?
syms a b c R
A = (a*b + a*R)/(b+R)
Simplify(A, OutputType = "Proof")
Error: The expression to the left of the equals sign is not a valid target for an assignment.
Is this a new function within Matlab 2013b (I am currently using 2013a)? I have the Symbolic Math Toolbox (I did check this).
see also: example 9 on the following page: http://www.mathworks.co.uk/help/symbolic/mupad_ref/simplify1.html
Is there anything I am missing? Thanks in advance
댓글 수: 0
채택된 답변
Friedrich
2013년 9월 12일
Hi,
that syntax is a MuPAD command so it works in MuPAD only. In the case you want to call it from MATLAB use:
feval(symengine,'Simplify',A,'OutputType = "Proof"')
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Special Values에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!