How to fix this symengine error?

11 次查看(过去 30 天)
Javier Castillo
Javier Castillo 2021-2-20
评论: Paul 2021-2-20
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
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 CenterFile Exchange 中查找有关 Number Theory 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by