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

1 visualización (últimos 30 días)
Brendan Jozwiak
Brendan Jozwiak el 18 de Jul. de 2022
Respondida: Star Strider el 18 de Jul. de 2022

Respuestas (1)

Star Strider
Star Strider el 18 de Jul. de 2022
The integrated result remains symbolic because ‘x’ is symbolic.
Example —
syms t x
x2 = t^3;
F2 = sin(x);
q = F2*diff(x2,t)
q = 
intq = int(q,t,0,1)
intq = 
So double will fail unless there is a numeric value for ‘x’.
.

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by