Filter löschen
Filter löschen

Don't know where my code is wrong and how to fix it

2 Ansichten (letzte 30 Tage)
Brendan Jozwiak
Brendan Jozwiak am 17 Jul. 2022
Kommentiert: Brendan Jozwiak am 17 Jul. 2022

Akzeptierte Antwort

Torsten
Torsten am 17 Jul. 2022
Bearbeitet: Torsten am 17 Jul. 2022
Pi = sym(pi)
Pi = 
π
double(Pi)
ans = 3.1416
Pi = sym('pi')
Pi = 
π
double(Pi)
Error using symengine
Unable to convert expression containing symbolic variables into double array. Apply 'subs' function first to substitute values for variables.

Error in sym/double (line 868)
Xstr = mupadmex('symobj::double', S.s, 0);
You understand the difference ?

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by