How to fix this symengine error?
조회 수: 4 (최근 30일)
이전 댓글 표시
I was following procedures for our experiment and symengine error occured.
G = (12*s^3 + 24*s^2 + 28*s + 9)/(2*(- 24*s^4 - 12*s^3 + 70*s^2 + 156*s + 99))
>> v_t = heaviside(t);
>> V_s = laplace(v_t);
>> Vc_s = G*V_s;
>> vc_t = ilaplace(Vc_s);
>> t = 0:.1:10;
>> vc_t = matlabFunction(vc_t);
Error using symengine
Code generation failed due to unexpected object of type
'RootOf'.
Error in sym/matlabFunction>mup2mat (line 404)
res = mupadmex('symobj::generateMATLAB',r.s,ano,spa,0);
Error in sym/matlabFunction>mup2matcell (line 374)
r = mup2mat(c{1},true,sparseMat);
Error in sym/matlabFunction (line 188)
body = mup2matcell(funs, opts.Sparse);
댓글 수: 1
Paul
2021년 2월 20일
Is it required to find the symbolic solution and then evaulate it numerically? Or is it allowed to go straight to a numerical solution of vc_t?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!