How to fix this symengine error?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Paul
el 20 de Feb. de 2021
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?
Respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!