sym2cell not working even for the example given in document.
조회 수: 2 (최근 30일)
이전 댓글 표시
syms x y S = [x 2 3 4; y 6 7 8; 9 10 11 12]
S =
[ x, 2, 3, 4] [ y, 6, 7, 8] [ 9, 10, 11, 12]
c=sym2cell(S) Undefined function 'sym2cell' for input arguments of type 'sym'.
댓글 수: 0
채택된 답변
Steven Lord
2016년 10월 18일
According to the note at the bottom of the documentation page this function was introduced in release R2016a. I suspect you're using an earlier release of Symbolic Math Toolbox.
댓글 수: 3
Walter Roberson
2016년 10월 18일
subs() in all of the vectors at the same time. vpa() or double() the result.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!