Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Use ./ or / in symbolic expressions. Doesn't make a difference?
조회 수: 2 (최근 30일)
이전 댓글 표시
>> syms k
>> f = k./(k+1)
f =
k/(k + 1)
>> g = k/(k+1)
g =
k/(k + 1)
f and g above end up being the same. Why?
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 8월 1일
The operators are overloaded in symbolic expressions and defined to mean the same thing for symbolic expressions.
MuPAD's / operator is sensitive to the data type that is being used and only does matrix arithmetic when appropriate. See http://www.mathworks.com/help/toolbox/mupad/linalg/index.html
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!